Results 1 to 3 of 3

Thread: IF Help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    USA
    Posts
    432

    IF Help

    Hi Im wanting to do a If statement hat will compair the ANSCII
    of the charators

    I was going to try
    PHP Code:
    if(strPID.charAt(0)>= '9'
    but not sher if that will work ?

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    have you tried it? charAt returns a char and when you put something in single quotes it is treated as a char. I think that will work.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    USA
    Posts
    432
    ok thanks ill give it a try and post the results

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width