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