If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into ...
I recommend you going to the documentation site, but this should work too. If you don't use Discord then feel free to open a GitHub issue, do note I am a bit slower in responding in GitHub.