string
namespaceavailable in: camelotStatus in wowlua
23 functions: 23 implemented, 0 recorded, 0 guessed.
Functions
| function | what it does | status |
|---|---|---|
byte | Returns the numerical code of a character in a string.not in Blizzard's documentation | implemented |
char | Generate a string representing the character codes passed as arguments. Numerical codes are not necessarily portable across platforms.not in Blizzard's documentation | implemented |
concat | Returns a concatenated string (without use of a delimiter).not in Blizzard's documentation | implemented |
contains | Returns true if a string contains the specified literal substring.(str: stringView, substring: stringView): boolean | implemented |
endswith | Returns true if a string ends with the specified suffix.(str: stringView, suffix: stringView): boolean | implemented |
find | Returns a pair of numbers representing the start and end of the first occurrence of the pattern within the string, if it exists.not in Blizzard's documentation | implemented |
format | Formats a string by substituting arguments. = format = s:formatnot in Blizzard's documentation | implemented |
gfind | Returns an iterator over the matches of a pattern in a string. It is the Lua 5.0 name of string.gmatch, which new code should use. · by wowluanot in Blizzard's documentation | implemented |
gmatch | Returns an iterator that gives the next match of a pattern in a string, or its captures, on each call; used as for word in string.gmatch(text, "%a+") do. · by wowluanot in Blizzard's documentation | implemented |
gsub | Substitutes text matching a pattern with a replacement. = gsub = s:gsubnot in Blizzard's documentation | implemented |
join | Joins strings together with a delimiter. = string.join(delimiter, string1 [, ...])not in Blizzard's documentation | implemented |
len | Return the length, in bytes, of the string passed.not in Blizzard's documentation | implemented |
lower | Gets a string with all lower case letters instead of upper case. = strlowernot in Blizzard's documentation | implemented |
ltrim | Returns a string with all bytes in the specified character set removed from the start.(str: stringView, characters: stringView): stringView | implemented |
match | Extract substrings by matching against a pattern. match [, match2, ...] = string.match(string, pattern[, initpos]) match1[, match2, ...] = strmatch(string, pattern[, initpos])not in Blizzard's documentation | implemented |
rep | Generate a string which is n copies of the string passed concatenated together.not in Blizzard's documentation | implemented |
reverse | Reverses all of the characters in a string.not in Blizzard's documentation | implemented |
rtrim | Returns a string with all bytes in the specified character set removed from the end.(str: stringView, characters: stringView): stringView | implemented |
split | Splits a string using a delimiter.not in Blizzard's documentation | implemented |
startswith | Returns true if a string starts with the specified prefix.(str: stringView, prefix: stringView): boolean | implemented |
sub | Return a substring of the string passed. The substring starts at i. If the third argument j is not given, the substring will end at the end of the string. If the third argument is given, the substring ends at and includes j.not in Blizzard's documentation | implemented |
trim | Trim characters (*chars*), off the left and right of *str*(str: stringView, characters: stringView): stringView | implemented |
upper | Make all the lower case characters in a string upper case.not in Blizzard's documentation | implemented |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaStringExtensions system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.