substring(IndexOf( )) (Beginning Java forum at JavaRanch)
Is this correct? substring not subString, right? I want strLastName to only equal the characters that precedes a comma (,): strLastNa ... hi To use StringTokenizer is the better approach StringTokenizer st=new StringTokenizer(s,","); where s is your strin...