| StringX Class |
Namespace: Candlelight
public static class StringX
The StringX type exposes the following members.
| Name | Description | |
|---|---|---|
| ContainsLowercase |
Determines whether or not the specified String contains any lowercase characters.
| |
| ContainsUppercase |
Determines whether or not the specified String contains any uppercase characters.
| |
| GetUniqueName(String, HashSetString) |
Gets an auto-incremented version of the specified base name that does not already exist in the specified
collection.
| |
| GetUniqueName(String, IListString) |
Gets an auto-incremented version of the specified base name that does not already exist in the specified
collection.
| |
| Join |
Return a string which is the concatenation of the strings in the collection. The separator between elements
is the string providing this method. Mimics str.join(iterable) in Python.
| |
| Range |
Gets a slice of the supplied String using the specified start index, end index, and
skip. Mimics slicing operator in Python.
| |
| ToFeetInchesString |
Converts Single meters value to feet and inches string.
| |
| ToHexString |
Gets the hex string representation of color in the form #XXXXXXXX.
| |
| ToSnakeCase |
Converts the specified camelCase or PascalCase string to snake_case. For example, "localPosition" or
"LocalPosition" becomes "local_position".
| |
| ToTimeString |
Converts Single to a time string.
| |
| ToTitleCase |
Converts the words to title case words. For example, "local position" becomes "Local Position".
| |
| ToWords |
Converts the specified camelCase, PascalCase, or snake_case string to words. For example, "localPosition",
"LocalPosition", and "local_position" become "Local Position".
| |
| TryParseNumberStringAsEnum |
Tries to parse the specified numberString into an enum value of the specified
enumType.
|