String function ( String arg0 ) { if ( TextUtils . isEmpty ( arg0 ) ) { return arg0 ; } if ( arg0 . lastIndexOf ( "srini_string" ) > 0 ) { arg0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; } if ( arg0 . contains ( "srini_string" ) ) { arg0 = arg0 . replaceAll ( "srini_string" , "srini_string" ) ; } return trimStart ( fastUnescapeHtml ( arg0 . replaceAll ( "srini_string" , "srini_string" ) ) ) ; }
this is much faster than striphtml but should only be used when we know the html is valid since the regex will be unpredictable with invalid html concode_field_sep PlaceHolder placeHolder concode_field_sep String stripHtml concode_elem_sep String fastUnescapeHtml concode_elem_sep String colorResToHtmlColor concode_elem_sep String trimStart concode_elem_sep String stripScript concode_elem_sep SpannableStringBuilder fromHtml concode_elem_sep Spanned fromHtml