String Manipulation Reverse / InStrRev
Posted: Thu Oct 16, 2008 1:35 am
Hello,
I have a requirement to extract a Surname from a name field. The issue is when the user has multiple second names.
How would I extract the last "field" from the string?
example:
'Joe Blogs'[' ',2,1] = 'Blogs'
'Jenny Marge Ashby'[' ',2,1] = 'Marge' *here is should be Ashby
Thanks.
I have a requirement to extract a Surname from a name field. The issue is when the user has multiple second names.
How would I extract the last "field" from the string?
example:
'Joe Blogs'[' ',2,1] = 'Blogs'
'Jenny Marge Ashby'[' ',2,1] = 'Marge' *here is should be Ashby
Thanks.