I need to rip the last name out of a username field. The username is formatted First Initial, Last Name, and an incrementing number for uniqueness. eg:
USERNAME
jsmith
jjones
jsmith1
rlove
I am really close with:
But I need to strip the number off the end of any usernames that have a number. I am thinking the best way is a query that ignores number characters. Any thoughts?
I joined this forum in 2005. I am still a hack.
USERNAME
jsmith
jjones
jsmith1
rlove
I am really close with:
Code:
Last: Right([username],Len([username])-1)
But I need to strip the number off the end of any usernames that have a number. I am thinking the best way is a query that ignores number characters. Any thoughts?
I joined this forum in 2005. I am still a hack.