Functions for dealing with strings.
|
static bool | beginsWith (string wholeString, string beginning) |
| Returns true if wholeString begins with beginning .
|
|
static bool | endsWith (string wholeString, string ending) |
| Returns true if wholeString ends with ending .
|
|
static string | substrAfter (string wholeString, string beginning) |
| Returns the substring of wholeString that follows beginning , or an empty string if wholeString does not begin with beginning .
|
|
static string | replaceAll (string wholeString, char originalChar, char replacementChar) |
| Returns a string constructed by replacing all instances of originalChar with replacementChar in wholeString .
|
|
static string | transcodeToIdentifier (string str) |
| Transforms a string into a valid identifier:
|
|