I have the following string
Code: Select all
XXXXXXXXXXXXXX Name : Yasser - XXXXXXXXXXXX
The extraction would depend on two delimiters which are "Name :" and the "-"
I mean I need the UDF to deal with the two delimiters and extract what in between
I imagine the following:
=myUDF(A1,"Name : "," - ")
Thanks advanced for help