Home / Lua / In-pattern frontier expression
Example
to find the index of the first non-letter character:
index, _ = string.find("ABC-CEF", "%f[^%a]")
return index
Home / Lua / In-pattern frontier expression
to find the index of the first non-letter character:
index, _ = string.find("ABC-CEF", "%f[^%a]")
return index