Split a String by Multiple Characters

Split a String by Multiple Characters

Using str.split only allows you to split a string by one character. If you want to split a string by multiple characters, use re.split().

re uses regrex to split the string.

My previous tips on Python string.

Search

Related Posts

Related Posts

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran