|
proto external string | GetPath () |
|
proto external int | ToAscii (int index=0) |
| Gets the ASCII code of a character in the string.
|
|
proto external float | ToFloat (float default=0.0, int offset=0, out int parsed=-1) |
| Parses a float from a string.
|
|
proto external int | ToInt (int default=0, int offset=0, out int parsed=-1) |
| Parses an integer from a string.
|
|
proto external vector | ToVector () |
| Returns a vector from a string.
|
|
proto external string | Substring (int start, int len) |
| Substring of str from start position len number of characters.
|
|
proto external string | Trim () |
| Returns trimmed string with removed leading and trailing whitespaces.
|
|
proto external int | TrimInPlace () |
| Removes leading and trailing whitespaces in string.
|
|
proto external int | Length () |
| Returns length of string.
|
|
proto external bool | IsEmpty () |
| Determines if string is empty.
|
|
proto external int | Hash () |
| Returns hash of string.
|
|
proto external int | IndexOf (string sample) |
| Finds 'sample' in 'str'.
|
|
proto external int | LastIndexOf (string sample) |
| Finds last 'sample' in 'str'.
|
|
proto external int | IndexOfFrom (int start, string sample) |
| Finds 'sample' in 'str' from 'start' position.
|
|
proto external bool | Contains (string sample) |
| Retunrs true if sample is substring of string.
|
|
proto external bool | ContainsAt (string sample, int pos) |
| Checks whether the string contains a given substring at a given position.
|
|
proto external bool | StartsWith (string sample) |
| Checks whether the string begins with a given substring.
|
|
proto external bool | EndsWith (string sample) |
| Retunrs true if string ends with sample, otherwise return false.
|
|
proto external int | Compare (string sample, bool caseSensitive=true) |
| Compares with sample and returns an integer less than, equal to, or greater than zero if string is less than, equal to, or greater than sample.
|
|
proto external int | Replace (string sample, string replace) |
| Replace all occurrances of 'sample' in 'str' by 'replace'.
|
|
proto external int | ToLower () |
| Changes string to lowercase.
|
|
proto external int | ToUpper () |
| Changes string to uppercase.
|
|
proto external void | Split (string delimiter, notnull out array< string > outTokens, bool removeEmptyEntries) |
| Splits string into array of strings separated by delimiter .
|
|
proto external string | Get (int index) |
| Gets n-th character from string.
|
|
proto external bool | IsDigitAt (int index) |
| Checks whether a character at a given position is a digit.
|
|
proto external bool | IsSpaceAt (int index) |
| Checks whether a character at a given position is a whitespace.
|
|
proto external TypeName | ToType () |
| Returns internal type representation.
|
|