How to Trim Strings in PHP

There are a lot of times when we want to work with strings but they are padded with unwanted characters either at the beginning or the end. PHP has defined specific functions that we can use to trim such strings easily. In this quick tip, we will discuss to common string trimming situations that you… Continue reading How to Trim Strings in PHP