Hello Guys..
I have an NSString named word (as you can guess, its one word),
I don't know the length of the string.
I need to check if the last letter (and only the last),
Contains the sign "?" or "!", or any other sign that is not A-Z, a-z or 1-9.
If the sign is not A-Z, a-z, or 1-9,
than the sign will be erased from the string.
Exsample: hello! = hello.
Please just help me find the command for doing that,
I'm looking for it for a long time now..
Hope you will answer me as soon as possible.
Tal Shani.

I have an NSString named word (as you can guess, its one word),
I don't know the length of the string.
I need to check if the last letter (and only the last),
Contains the sign "?" or "!", or any other sign that is not A-Z, a-z or 1-9.
If the sign is not A-Z, a-z, or 1-9,
than the sign will be erased from the string.
Exsample: hello! = hello.
Please just help me find the command for doing that,
I'm looking for it for a long time now..
Hope you will answer me as soon as possible.
Tal Shani.
