Apr 8, 2004 #1 rdyoll Technical User Aug 11, 2003 39 US If I have a variable such as $data ($data will be a string of text), and: if (substr($data, 0) > 30) { do something; } obviously, this does not work. What am I missing?
If I have a variable such as $data ($data will be a string of text), and: if (substr($data, 0) > 30) { do something; } obviously, this does not work. What am I missing?
Apr 8, 2004 1 #2 EBGreen Programmer Apr 1, 2004 2,867 US Try: if (length($data) > 30) { do something; } Upvote 0 Downvote
Apr 8, 2004 Thread starter #3 rdyoll Technical User Aug 11, 2003 39 US ...AHAAAAA, I knew there was something I was missing... Thank you!! Upvote 0 Downvote
Apr 8, 2004 1 #4 PaulTEG Technical User Sep 26, 2002 4,469 IE If it saved you time, and you're too far away to buy the guy a beer ( or whatever s/he prefers ) STAR the person --Paul Upvote 0 Downvote
If it saved you time, and you're too far away to buy the guy a beer ( or whatever s/he prefers ) STAR the person --Paul
Apr 9, 2004 Thread starter #5 rdyoll Technical User Aug 11, 2003 39 US ...no prob, Paul... Upvote 0 Downvote
Apr 9, 2004 #7 uida1154 Programmer Mar 1, 2004 163 NL PaulTEG came up with the best advice found on this site ever: BEER. I gave him a star for it! Upvote 0 Downvote