Syntax
rotl(string|array, [integer])
Description
The rotl() function will rotate the items in a string or array 1 element to the left if no integer amount is given, or by the amount stated by the given integer.
Example
a=[1,2,3,4,5,6] a=rotl(a) println(a) a=rotl(a, 3) println(a) a="This is a string" a=rotl(a) println(a) a=rotl(a, 6) println(a) [2, 3, 4, 5, 6, 1] [5, 6, 1, 2, 3, 4] his is a stringT a stringThis is