SysTutorials Forums QA How to split a string by string in Python?

Viewing 0 reply threads

    How to split a string by string in Python? For example,

    "a string   separated by space" =>
    ["a", "string", "separated", "by", "space"]
    

    and

    "a,string,separated,by,comma" =>
    ["a", "string", "separated", "by", "comma"]
    
Viewing 0 reply threads

The forum ‘QA’ is closed to new topics and replies.

Please share if you like this post: