Appendix C: Scripts : String library
 
String library
The FortiADC OS supports only the Lua string library. All other libraries are disabled. The string library includes the following string-manipulation functions:
String.byte(s, i)
String.char(i1,i2…)
String.dump(function)
String.find(s, pattern)
String.format
String.gmatch
String.gsub
String.len
String.lower
String.match
String.rep
String.reverse
String.sub
String.upper
For a tutorial on scripting with the Lua string library, see http://lua-users.org/wiki/StringLibraryTutorial.