Python - Split string on first occurrence of non-allowable characters

前端 未结 0 1805
天命终不由人
天命终不由人 2020-12-07 11:55

I have some python code where i want to scan and split string on first occurrence of non-allowable characters.

import re,string
mystring="my_id=abc-somet         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题