int function ( final String arg0 , final String ... arg1 ) { if ( StringUtils . isEmpty ( arg0 ) || deepEmpty ( arg1 ) ) { return 0 ; } final CharSet loc0 = CharSet . getInstance ( arg1 ) ; int loc1 = 0 ; for ( final char loc2 : arg0 . toCharArray ( ) ) { if ( loc0 . contains ( loc2 ) ) { loc1 ++ ; } } return loc1 ; }
takes an argument in set-syntax , see evaluateset , and returns the number of characters present in the specified string . charsetutils.count null , = 0 charsetutils.count '' '' , = 0 charsetutils.count , null = 0 charsetutils.count , '' '' = 0 charsetutils.count `` hello '' , `` k-p '' = 3 charsetutils.count `` hello '' , `` a-e '' = 1 concode_field_sep PlaceHolder placeHolder concode_field_sep String modify concode_elem_sep String squeeze concode_elem_sep boolean deepEmpty concode_elem_sep String keep concode_elem_sep boolean containsAny concode_elem_sep String delete