equivalent of string #trim . concode_field_sep PlaceHolder placeHolder concode_field_sep String replace concode_elem_sep CharSequence replace concode_elem_sep boolean isWhiteSpaceExceptSpace concode_elem_sep String collapse concode_elem_sep CharSequence collapse concode_elem_sep boolean isWhiteSpace concode_elem_sep boolean isWhiteSpace
CharSequence function ( CharSequence arg0 ) { int loc0 = arg0 . length ( ) ; int loc1 = 0 ; while ( loc1 < loc0 && isWhiteSpace ( arg0 . charAt ( loc1 ) ) ) loc1 ++ ; int loc2 = loc0 - 1 ; while ( loc2 > loc1 && isWhiteSpace ( arg0 . charAt ( loc2 ) ) ) loc2 -- ; if ( loc1 == 0 && loc2 == loc0 - 1 ) return arg0 ; else return arg0 . subSequence ( loc1 , loc2 + 1 ) ; }