How To Find String Lenth Count String Letters Characters Php
how to find string lenth count string letters characters php
how, to, find, string, lenth, count, string, letters, characters, php
How To Find String Lenth Count String Letters Characters Php
Post Description: how to find string lenth count string letters characters php
POST# 456
Posted On: Fri Feb 29, 2008 12:01 pm
mariosd457
Topic: How To Find String Lenth Count String Letters Characters Php
i want to know if there is a way to count how many letters a string has in php?

please help.


Fri Feb 15, 2008 4:51 pm
1
hostman
Reply #1044
you can use the strlen() php function

example:

PHP CODE:
$string = 'wallpaperama';
echo strlen($string);


OUTPUT
12


as you can see from the example here, the word wallpaperama has 12 characters in length

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload