How to measure length of a string ?

If you want to check a length of the string in php, just user strlen() function. It will return the given string length. See example:if ( strlen( $unknownString ) > 10 ) { echo "String has more than 10 characters"; }

Comments

Popular posts from this blog

How to construct a B+ tree with example

How to show only month and year fields in android Date-picker?

Visitor Counter Script Using PHP