string. startswith
functionimplementedavailable in: camelot
Returns true if a string starts with the specified prefix.
function string.startswith( str: stringView, prefix: stringView): booleanParameters
| name | type | description |
|---|---|---|
str | stringView | The string to inspect. |
prefix | stringView | The prefix for which to search. |
Returns
startsWith · boolean · True if the string starts with the specified prefix; otherwise false.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaStringExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.