PHP has a vast selection of built-in string handling functions that allow you to easily manipulate strings in almost any possible way. However, learning all these functions, remembering what they do, and when they might come in handy can be a bit daunting, especially for new developers. There is no way I can cover every string function in one article, and besides, that is what the PHP manual is for! But what I will do is show how to work with some of the most commonly used string handling functions that you should know. After this, you’ll be working with strings as well as any concert violinist! On the Case PHP offers several functions that enable you to manipulate the case of characters within a string without having to edit the string character by character
PHPMaster: String Handling Functions
James Appleyard is from the UK. He built his first website back in 2000 and has been hooked ever since. For his day job he helps to maintain a large website for a major international IT company. In his free time, James has completed an MSc in Web Applications Development and enjoys exploring the depths of PHP and WordPress. More recently, James has been volunteering for IT4Communities in the UK building websites for charities, good causes, and not-for-profit organizations. When he has any time left over he enjoys cooking, reading, and sleeping.