G
G
Hello,
I would like look at a user-entered string, and copy all characters starting
from the left until a number is found. As soon as a number is detected, the
copy should stop and the chracters stored in a second textfield. Sounds
simple but haven't the foggiest how to do it.
For example:
Texfield1.Text = "Bryan2000"
TextField2.Text = "Bryan"
or
TextField1.Text = "H500"
TextField2.text = "H"
or
TextField1.Text = "900TEST"
TextField2.text = ""
Any ideas?
Regards,
G.
I would like look at a user-entered string, and copy all characters starting
from the left until a number is found. As soon as a number is detected, the
copy should stop and the chracters stored in a second textfield. Sounds
simple but haven't the foggiest how to do it.
For example:
Texfield1.Text = "Bryan2000"
TextField2.Text = "Bryan"
or
TextField1.Text = "H500"
TextField2.text = "H"
or
TextField1.Text = "900TEST"
TextField2.text = ""
Any ideas?
Regards,
G.