News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
10 Easy Solutions for PHP String Manipulation
June 03, 2010 @ 10:04:32

If you're relatively new to the PHP language and want a few handy tips on working with strings, you should check out this list of ten things that Jason Gilmore has put together to help you with some common string manipulations.

PHP's capabilities [string manipulation] are so strong that it can sometimes be difficult to determine the best possible approach for accomplishing a particular string-related task. In this article I highlight the ideal solutions to 10 common string manipulation tasks.

Among the methods in his list of transformations, he includes:

  • Truncating Text to Produce a Summary
  • Parsing a CSV File
  • Converting URLs into Hyperlinks
  • Converting Newline Characters to Break Tags
0 comments voice your opinion now!
string manipulation tutorial introductory


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Markup Separation with Template IT

Nefarious Designs: Object-Oriented PHP Part 2: Relationships

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

Gonzalo Ayuso's Blog: Watermarks in our images with PHP and mod_rewrite

Lorna Mitchell's Blog: PHP OAuth Provider: Authenticate User


Community Events





Don't see your event here?
Let us know!


developer interview threedevsandamaybe symfony2 install podcast opinion framework list release testing unittest language api introduction laravel community refactor code series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework