~/forever/addon-api/function/string.contains
string.contains
documented function · LuaStringExtensions
string.contains(str, substring) : containsReturns true if a string contains the specified literal substring.
──ARGUMENTS
- str
- stringView (The string to search.)
- substring
- stringView (The literal substring for which to search.)
──RETURNS
- contains
- bool (True if the string contains the specified substring; otherwise false.)
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.