[SOLVED] Need help with code to remove spaces and punctuation.
What i would like to happen is when i press Command34, the information in Text43 and Text44 will have both of their spaces and punctuation removed.
this is because i have a set format on the database which is set to @&&&&&_@&&_@@@ However if the user puts in the correct info but uses "-" instead on "_" the database shows with them both.
Hopefully using the space and punctuation removal code it will change it so that when they hit the Command34 button (the save button) the "-" will be removed in this example so that the database format corrects it when in the database.
Thanks for help in advanced.
What i would like to happen is when i press Command34, the information in Text43 and Text44 will have both of their spaces and punctuation removed.
this is because i have a set format on the database which is set to @&&&&&_@&&_@@@ However if the user puts in the correct info but uses "-" instead on "_" the database shows with them both.
Hopefully using the space and punctuation removal code it will change it so that when they hit the Command34 button (the save button) the "-" will be removed in this example so that the database format corrects it when in the database.
Thanks for help in advanced.
Last edited: