Simple question: find variable in edit1.text = ?????/
Posted on 2004-03-22
I've got a quick question:
I have on a form:
The text in Edit1 is: User Field 1://Variable/...
User Field 1://
remain constant throughout
However "Variable" always equals Edit2.text
So for example you could have:
Edit2.text := Andy
Edit1.text: User Field 1://Andy/...
I need to simply parse the variable in Edit1
So on button1.click --> label1.caption := the variable from edit1.text ie, Andy.
Obviously you cant just have label1.caption := Edit2.text it has to parse Edit1
If you can help please provide a full souce code snippet - it helps us all!