How To Find String Lenth Count String Letters Characters Php
Webune
how to find string lenth count string letters characters php
how, to, find, string, lenth, count, string, letters, characters, php
Home
Forums
SEO Forums
»
Programming
»
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
how, to, find, string, lenth, count, string, letters, characters, php
This Post Has Been Viewed 143 Times Since Fri Feb 29, 2008 12:01 pm Posted By mariosd457 with 1 replies
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
submit
Next
php Getting all phone numbers out of some text string remove delete
Previous:
Count And Display Words In A String Into Array Php Sentence Word