Jump to content


Photo

number of characters in a string


  • Please log in to reply
1 reply to this topic

#1 ibanez270dx

ibanez270dx
  • Members
  • PipPipPip
  • Advanced Member
  • 53 posts

Posted 16 August 2006 - 08:43 PM

Hi,
Just a quick little question, how do I make sure that a variable has exactly 5 characters?

Thanks,
-Jeff

#2 Jocka

Jocka
  • Members
  • PipPipPip
  • Advanced Member
  • 344 posts
  • LocationDallas, Texas

Posted 16 August 2006 - 08:49 PM

http://us2.php.net/m...tion.strlen.php




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users