1/*
2To measure the length of string there is built-in function in php which returns the exact length of string.
3*/
4
5Syntax:
6strlen(paramenter);
7
8<?php
9$name = 'ankur';
10echo "Name Length : ".strlen($name); // Name Length : 5
11
12$message = 'Welcome greppers !';
13echo "Message Length : ".strlen($message); // Message Length : 18
14?>
15
16/*
17I hope it will help you.
18Namaste
19*/