How to get String between a particular character in Python

前端 未结 0 1230
有刺的猬
有刺的猬 2021-01-01 10:24

If I have a String like this

s = \'a{ b{ cd }e{ fg } } h{ i{ jk }l{ mn }}\'

Is there a way to get the following output

a h


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