There was an error while loading. Please reload this page.
The substr native AI script function returns a substring of the input string.
(substring: s)substr(string: s, start: f, length: f)
start
length
($str)result = substr("Hello, world!", 7, 5);
This example code returns the substring "world".