I would like to split the string with a full string containing two delimiters. For example
string1 = ABC * welcome * cdf
I should extract it welcome
.
Thanks in advance.
$ string1 = 'abc * welcome * cdf'; List (, $ myString,) = explosion ('*', $ string1); Echo $ myString;
Comments
Post a Comment