: how is a way to check if a string has been entered in a input box..... like an isnumeric() function but only for strings.... thanx : you have a form get the text box value into a string call string.TrimEnd if string.length > 0 then you have an inputted string else no inputted string end if
I would strongly suggest you limit the length of the text box and add some code to determine if the inputted string is valid e.g. STATE: MARYLAND vs. MD vs. MARY
: : how is a way to check if a string has been entered in a input box..... like an isnumeric() function but only for strings.... thanx : : : : If textbox.Text = string.empty then : 'Nothing Entered : else : 'Something entered. : endif : :
Comments
:
you have a form
get the text box value into a string
call string.TrimEnd
if string.length > 0 then
you have an inputted string
else
no inputted string
end if
I would strongly suggest you limit the length of the text box
and add some code to determine if the inputted string is valid
e.g. STATE: MARYLAND vs. MD vs. MARY
:
If textbox.Text = string.empty then
'Nothing Entered
else
'Something entered.
endif
: :
:
: If textbox.Text = string.empty then
: 'Nothing Entered
: else
: 'Something entered.
: endif
:
:
Hi
If IsNumeric(textbox.text)=False then