PHP String functions

PHP strings are sequences of characters, like ” Hello World “. In this chapter we will see the commonly used string functions. str_len() Function This function is used get the total number of characters in string . <?php echo str_len(“Test String”); ?> Output: 11 addslashes() Function This function will return the string with backslashes in-front of … Read more