get the origin of an url : ex getorigin `` http://www.example.com:8080/index.html?bar=foo '' would return `` http://www.example.com:8080 '' . it will return an empty string for an invalid url . concode_field_sep PlaceHolder placeHolder concode_field_sep String getScheme concode_elem_sep String nativeGetOrigin concode_elem_sep String nativeGetScheme
String function ( String arg0 ) { return nativeGetOrigin ( arg0 ) ; }