Useful PHP string functions

Here are detailed working on useful PHP string functions strlen() The PHP strlen() function returns the length of a string.The example below returns the length of the string “john”Example <?php echo strlen(“John”); ?> Output 4 Chr() Converts an ASCII value to its equivalent character Example The ASCII value 46 is the & symbol <?php $str …

Useful PHP string functions Read More »