How to get first and second part of a string in bash on last occurrence of a delimiter

后端 未结 0 865
春和景丽
春和景丽 2021-02-01 08:31

I need to split a string on the last occurrence of a delimiter and get both the parts into two variables.

Input could be

- stringOne_One/stringOne_Two/stin         


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