Static Public Member Functions | |
char[] | replace (char[] source, char match, char replacement) |
int | indexOf (char[] source, char match) |
int | indexOf (char[] source, char match, int start) |
int | indexOf (char[] source, char[] match) |
int | indexOf (char[] source, char[] match, int start) |
char[] | trim (char[] source) |
int | atoi (char[] digits) |
int | atoi (char[] digits, int radix) |
char[] | itoa (char[] s, long i) |
char[] | toString (int i) |
long | atod (char[] date) |
char[] | dtoa (char[] buffer, long time) |
char[] | tolower (inout char[] src) |
Definition at line 63 of file Text.d.
|
Replace all instances of one char with another (in place) Definition at line 71 of file Text.d. References memchr(). |
|
Return the index of the first instance of 'match' Definition at line 92 of file Text.d. Referenced by indexOf(). |
|
Return the index of the first instance of 'match', starting at position 'start' Definition at line 104 of file Text.d. References memchr(). |
|
Return the index of the first instance of 'match' Definition at line 121 of file Text.d. References indexOf(). |
|
Return the index of the first instance of 'match', starting at position 'start' Definition at line 133 of file Text.d. References indexOf(). |
|
Trim the provided string by stripping whitespace from both ends. Returns a slice of the original content. |
|
Convert a string into a base-10 number. |
|
Convert a string into a base-X number where X is specified by 'radix' Definition at line 195 of file Text.d. References Exception. |
|
Convert an integer to a string, without allocating space. Definition at line 225 of file Text.d. Referenced by toString(). |
|
Convert an integer to a string Definition at line 244 of file Text.d. References itoa(). |
|
Convert a string to a date. This is just a symmetrical wrapper around the Phobos functionality. Definition at line 258 of file Text.d. References date. |
|
Shamelessly plundered from std.date (with permission), this version avoids allocating memory. Returns a populated slice of the provided buffer; with zero length if the date was invalid. Definition at line 273 of file Text.d. References time. |
|
in-place conversion to lowercase |