mambo.core.string

Public Imports

mambo.core.Array
public import mambo.core.Array;

Members

Aliases

fromString16z
alias fromString16z = tango.stdc.stringz.fromString16z
Undocumented in source.
fromString32z
alias fromString32z = tango.stdc.stringz.fromString32z
Undocumented in source.
fromStringz
alias fromStringz = tango.stdc.stringz.fromStringz
Undocumented in source.
isHexDigit
alias isHexDigit = std.ascii.isHexDigit
Undocumented in source.
isLower
alias isLower = tango.text.Unicode.isLower
Undocumented in source.
isUpper
alias isUpper = tango.text.Unicode.isUpper
Undocumented in source.
replace
alias replace = std.array.replace
Undocumented in source.
toString16
alias toString16 = tango.text.convert.Utf.toString16
Undocumented in source.
toString16z
alias toString16z = tango.stdc.stringz.toString16z
Undocumented in source.
toString32
alias toString32 = tango.text.convert.Utf.toString32
Undocumented in source.
toString32z
alias toString32z = tango.stdc.stringz.toString32z
Undocumented in source.
toStringz
alias toStringz = tango.stdc.stringz.toStringz
Undocumented in source.

Functions

compareIgnoreCase
int compareIgnoreCase(string a, string b, U end)

Compares to strings, ignoring case differences. Returns 0 if the content matches, less than zero if a is "less" than b, or greater than zero where a is "bigger".

compareIgnoreCase
int compareIgnoreCase(wstring a, wstring b, U end)

Compares to strings, ignoring case differences. Returns 0 if the content matches, less than zero if a is "less" than b, or greater than zero where a is "bigger".

compareIgnoreCase
int compareIgnoreCase(dstring a, dstring b, U end)

Compares to strings, ignoring case differences. Returns 0 if the content matches, less than zero if a is "less" than b, or greater than zero where a is "bigger".

equalsIgnoreCase
bool equalsIgnoreCase(string str, string anotherString)

Compares the $(D_PSYMBOL string) to another $(D_PSYMBOL string), ignoring case considerations. Two strings are considered equal ignoring case if they are of the same length and corresponding characters in the two strings are equal ignoring case.

equalsIgnoreCase
bool equalsIgnoreCase(wstring str, wstring anotherString)

Compares the $(D_PSYMBOL wstring) to another $(D_PSYMBOL wstring), ignoring case considerations. Two wstrings are considered equal ignoring case if they are of the same length and corresponding characters in the two wstrings are equal ignoring case.

equalsIgnoreCase
bool equalsIgnoreCase(dstring str, dstring anotherString)

Compares the $(D_PSYMBOL dstring) to another $(D_PSYMBOL dstring), ignoring case considerations. Two wstrings are considered equal ignoring case if they are of the same length and corresponding characters in the two wstrings are equal ignoring case.

format
string format(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
toLower
inout(T)[] toLower(inout(T)[] value)

Converts the given string to lowercase.

toString
string toString(T value)

Converts the given value to a string.

toUpper
inout(T)[] toUpper(inout(T)[] value)

Converts the given string to uppercase.

Meta

Authors

Jacob Carlborg

Version

Initial created: 2008