D
Dan
Trying to extract text within a string (do not know the length or content).
Only information I will be given is the ID corresponding to the text needed
to extract.
String:
Apple 0h Orange 1h Pear 2h Melon 3h Peach 4h Bananna 7h
For the ID "3h", I need to return Melon.
For the ID "7h", I need to return Bananna.
There is the possibility of an ID not in the string, i.e. 5h which should
return #VALUE!. The problem is 7h.
Thanks
Dan
Only information I will be given is the ID corresponding to the text needed
to extract.
String:
Apple 0h Orange 1h Pear 2h Melon 3h Peach 4h Bananna 7h
For the ID "3h", I need to return Melon.
For the ID "7h", I need to return Bananna.
There is the possibility of an ID not in the string, i.e. 5h which should
return #VALUE!. The problem is 7h.
Thanks
Dan