SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
Is it possible to split a string every nth character?
For example, suppose I have a string containing the following:
'1234567890'
How can I get it to look like this:
['12','34','56','78','90']
This question is related to python string split
python
string
split
Source: Stackoverflow.com