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:
- At least there is one non space character in the string.
- No more than 1 space between the words in the string.
- No space at the end of the string.
- Make the string all lower case.
Lets say the string is: "I Want to be a PILOT "
How can I achieve my goal?