Tag: chop()

How To Remove White Spaces from the Beginning and/or the End of a String?

December 7, 2009 | Filed Under PHP | Leave a Comment

trim() – Remove white space characters from the beginning and the end of a string.
ltrim() – Remove white space characters from the beginning of a string.
rtrim() – Remove white space characters from the end of a string.
chop() – Same as rtrim().

Article written by urooj

© PHPInterviewQuestion.com 2009 - 2010

eXTReMe Tracker