What is the function to count the number of charecters in a variable? Also what is the function to see if a variable exists? Thanks!
Nate - email@example.com
http://www.jumpthru.com - Unbelievable Website design!
http://www.jumpthru.com/christian - Learn, live, love, jesus christ...
Function to count characters in a string variable is
To check for existance of a variable, you only have to enclose it's name within an
statement, as a non-existant string equates to "" or 0. The alternative is to use the
function. The latter is obviously the only option if "0" or "" are possible valid values for an existing variable.
When using text variables (from user input) I usually do:
// do something
To check that they have not just entered spaces...