Replace parts of string that match items from one list with parts of string from another list one by one

后端 未结 0 1788
别那么骄傲
别那么骄傲 2021-01-15 04:58

For example, I have a string:

string1 = \'a b c d e f g h i j\'

How can I make it look like this:

string1 = \'a_b c_d e_f g_h          


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