PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
gotDNS
Forum Contributor
Posts: 217 Joined: Tue May 07, 2002 5:53 pm
Location: West Chester, PA
Post
by gotDNS » Fri Aug 16, 2002 2:37 pm
Hey, I was wondering how i could count the number of characters in a string? Thanks.
cheatboy00
Forum Contributor
Posts: 151 Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:
Post
by cheatboy00 » Fri Aug 16, 2002 2:52 pm
strlen ($var);
just insert your varibale where $var is and it'll count how many characters their are
gotDNS
Forum Contributor
Posts: 217 Joined: Tue May 07, 2002 5:53 pm
Location: West Chester, PA
Post
by gotDNS » Fri Aug 16, 2002 2:53 pm
Thanks man!
Later on, -Brian