| java.lang.Object org.sakaiproject.tool.assessment.util.StringParseUtils
StringParseUtils | public class StringParseUtils (Code) | | |
getFirstNameFromName | public static String getFirstNameFromName(String name)(Code) | | utility.
Parameters: name - full name (hopefully) first name |
getLastNameFromName | public static String getLastNameFromName(String name)(Code) | | utility.
Parameters: name - full name (hopefully) last name |
simplifyString | public static String simplifyString(String s, int max, int min)(Code) | | Create an all lowercase version substituting "_" for non-alphanumeric with
trailing "_". Limits the length.
Parameters: s - the String Parameters: max - the max number of characters to be output Parameters: min - the min number of characters to be outpu |
|
|