Static Public Member Functions

antlr.StringUtils Class Reference

List of all members.

Static Public Member Functions

static String stripBack (String s, char c)
static String stripBack (String s, String remove)
static String stripFront (String s, char c)
static String stripFront (String s, String remove)
static String stripFrontBack (String src, String head, String tail)

Member Function Documentation

static String antlr.StringUtils.stripBack ( String  s,
char  c 
) [static]

General-purpose utility function for removing characters from back of string

Parameters:
s The string to process
c The character to remove
Returns:
The resulting string
static String antlr.StringUtils.stripBack ( String  s,
String  remove 
) [static]

General-purpose utility function for removing characters from back of string

Parameters:
s The string to process
remove A string containing the set of characters to remove
Returns:
The resulting string
static String antlr.StringUtils.stripFront ( String  s,
String  remove 
) [static]

General-purpose utility function for removing characters from front of string

Parameters:
s The string to process
remove A string containing the set of characters to remove
Returns:
The resulting string
static String antlr.StringUtils.stripFront ( String  s,
char  c 
) [static]

General-purpose utility function for removing characters from front of string

Parameters:
s The string to process
c The character to remove
Returns:
The resulting string
static String antlr.StringUtils.stripFrontBack ( String  src,
String  head,
String  tail 
) [static]

General-purpose utility function for removing characters from the front and back of string

Parameters:
s The string to process
head exact string to strip from head
tail exact string to strip from tail
Returns:
The resulting string

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties