rotateLeft
Rotates the String to the left by specified distance.
Example:
"abc".rotateLeft(2) // bca
Content copied to clipboard
Since
1.1.0
Parameters
n
number of elements rotate
See also
Throws
IllegalArgumentException
if n is negative or zero.