The following functions are available.

Function Name Arguments Description Example
RegExpMatch RegExpMatch(re, s) Returns a Bool to see if the regular expressions re and s match RegexMatch(“G.*o”, “Gravio HubKit”) -> true
RegExpFind RegExpFind(re, s) Returns the first string that matches the regular expressions re and s RegexFind(“i.”, “Gravio HubKit”) -> “io”
RegExpFindSubmatch RegExpFindSubmatch(re, s) If the first string and parenthesized subexpressions of the regular expressions re and s match, return an array RegexFindSubmatch(“(G.*o) (H.*t)”, “Gravio HubKit”) -> [“Gravio HubKit”, “Gravio”, “HubKit”]
RegExpFindAll RegExpFindAll(re, s[, n]) Returns an array of all strings where the regular expressions re and s match RegexFindAll(“i.”, “Gravio HubKit”) -> [“io”, “it”]
RegExpReplace RegExpReplace(re, s, repl) Returns a string with the regular expressions re and s replaced by a matched repl. repl can use subexpressions such as $1.
UUID UUID Returns a UUID string, where sep is a separator (empty string by default)
Len Len([Array]) Returns the count for the number of elements in an Array. Len([3,4]) OR Len(cv.Payload)

Need more help with this?
Join our slack community for help

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.