Sunday, May 13, 2012

Function to split a String by Character, returns String Array


Function to split a String by Character, returns String Array



public String[] splitStringByCharacter(String inputString, String splitterCharacter) {

String[] temp;
temp = inputString.split(splitterCharacter);
return temp;           

}

No comments: