Hi there,
I am trying to extract a number of character from a string. The format of the string is as follows:
First Name (space) Last Name (space) RR (cost centre number) (space) (date)
So an example is as follows:
JOHN CITIZEN RR533 (26.02.07 TO 25.05.07)
I need to extract all characters before the RR, so basically the first and last name of the person. I would really appreciate if anyone could let me know how to do it.
I cannot use the left or right function or even the len funtions as the number of characters in the string vary. The number of characters to the right of "RR" are also non consistent unfortunately.
Any sort of help would be great!
Cheers!
Bookmarks