Hi there,
If I have a text box that the user will enter keywords to search a databse, then I want to filter his string according to the follwoing:
1. At least there is one non space character in the string.
2. No more than 1 space between the words in the string.
3. No space at the end of the string.
4. Make the string all lower case.
Lets say the string is: "I Want to be a PILOT "
How can I achieve my goal?
If I have a text box that the user will enter keywords to search a databse, then I want to filter his string according to the follwoing:
1. At least there is one non space character in the string.
2. No more than 1 space between the words in the string.
3. No space at the end of the string.
4. Make the string all lower case.
Lets say the string is: "I Want to be a PILOT "
How can I achieve my goal?