String function ( final String arg0 , final String ... arg1 ) { if ( arg0 == null ) { return null ; } if ( arg0 . isEmpty ( ) || deepEmpty ( arg1 ) ) { return StringUtils . EMPTY ; } return modify ( arg0 , arg1 , true ) ; }
takes an argument in set-syntax , see evaluateset , and keeps any of characters present in the specified string . charsetutils.keep null , = null charsetutils.keep '' '' , = '' '' charsetutils.keep , null = '' '' charsetutils.keep , '' '' = '' '' charsetutils.keep `` hello '' , `` hl '' = `` hll '' charsetutils.keep `` hello '' , `` le '' = `` ell '' concode_field_sep PlaceHolder placeHolder concode_field_sep String modify concode_elem_sep String squeeze concode_elem_sep boolean deepEmpty concode_elem_sep boolean containsAny concode_elem_sep int count concode_elem_sep String delete