I have a string
'${user name} ${action} ${what} some_text' Is there any normal way to split this string into an array using split?
Expected:
['${user name}', '${action}', '${what}', 'some_text'] A solution without regulars is highly desirable, if that is possible.