>wowhelm_
~/forever/addon-api/function/string.startswith

string.startswith

documented function · LuaStringExtensions
string.startswith(str, prefix) : startsWith

Returns true if a string starts with the specified prefix.

──ARGUMENTS
str
stringView (The string to inspect.)
prefix
stringView (The prefix for which to search.)
──RETURNS
startsWith
bool (True if the string starts with the specified prefix; otherwise false.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.