Blog Details

how to get length from string in php



                                

* PHP strlen() Function :-

  • The strlen() function returns the length of a string.

Syntax :

strlen(string)

 Example :

<html> <body> <?php echo strlen("Hello"); ?> </body> </html>

Output :

5


Categories

Core_PHP

Latest posts

13.05.14
Implementing CRUD Operations ¶

<ul> <li>Now comes the fun part. We would like t

13.05.14
View

<ol> <li><a href="http://www.yiiframework.com/do

13.05.14
Creating Model

<ol> <li><a href="http://www.yiiframework.com/do

Get Free Quote