Hi !
This is regarding Margaret's StringFunctions Post on https://www.b4x.com/android/forum/threads/string-functions.10365/
Sorry if I sound too basic.
My doubt:
I have a EditText control in b4a called myEditText. I have used IME to ensure only input values '0123456789".
Now I want to check if the INPUTTED VALUE of myEditText is 0 i.e. if the inputted value is 0 then I must give a message saying 0 is not allowed etc.
Now StringFunctions has a VAL() function which will give you the Value of the inputted text.
I understand that first I must declare a StringFunction variable and then Initialize it ..
But I don't know how to assign the value of the EditText control to the StringFunction variable..
Please help.
Thanks.
This is regarding Margaret's StringFunctions Post on https://www.b4x.com/android/forum/threads/string-functions.10365/
Sorry if I sound too basic.
My doubt:
I have a EditText control in b4a called myEditText. I have used IME to ensure only input values '0123456789".
Now I want to check if the INPUTTED VALUE of myEditText is 0 i.e. if the inputted value is 0 then I must give a message saying 0 is not allowed etc.
Now StringFunctions has a VAL() function which will give you the Value of the inputted text.
I understand that first I must declare a StringFunction variable and then Initialize it ..
But I don't know how to assign the value of the EditText control to the StringFunction variable..
Please help.
Thanks.
Last edited: