Tag Archives: Useful strings function in PHP

Useful strings function in PHP

Here are detailed working on useful strings functions in PHP Function Description and working 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 64 is the @ symbol <?php $str = chr(046); echo(“the … Continue reading Useful strings function in PHP »