StringRotateLeft[string,n]
cycles the characters in string n positions to the left.
StringRotateLeft[string]
cycles one position to the left.


StringRotateLeft
StringRotateLeft[string,n]
cycles the characters in string n positions to the left.
StringRotateLeft[string]
cycles one position to the left.
Details

- StringRotateLeft[string,-n] rotates n positions to the right.
- StringRotateLeft[BioSequence["type","seq"],…] will apply the operation to the string "seq" yielding a BioSequence result.
See Also
Related Guides
Text
Wolfram Research (2012), StringRotateLeft, Wolfram Language function, https://reference.wolfram.com/language/ref/StringRotateLeft.html (updated 2020).
CMS
Wolfram Language. 2012. "StringRotateLeft." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/StringRotateLeft.html.
APA
Wolfram Language. (2012). StringRotateLeft. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StringRotateLeft.html
BibTeX
@misc{reference.wolfram_2025_stringrotateleft, author="Wolfram Research", title="{StringRotateLeft}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/StringRotateLeft.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_stringrotateleft, organization={Wolfram Research}, title={StringRotateLeft}, year={2020}, url={https://reference.wolfram.com/language/ref/StringRotateLeft.html}, note=[Accessed: 11-August-2025]}