-----Original Message----- From: Geoff Shang [mailto:geoff@xxxxxxxxxxxxxxx] Sent: Thursday, June 28, 2012 5:12 AM To: php-general@xxxxxxxxxxxxx Subject: Re: slicing and dicing strings On Wed, 27 Jun 2012, tamouse mailing lists wrote: > RTFM with no hint of where to look is a problem. But the dictum of > "Read here in the manual" will surely be the best thing. You will then > know where to look for future questions. Personally, I've got better things to do with my time than spend it committing the syntax and semantics of every single PHP function to memory. I nearly always have the php.net front page with its function search open in a browser whenever I'm writing something more than a few lines. The function search seriously rocks. Even if I can't remember which string function I want, I can search for *any* string function and I'll get the list of all of them, along with a quick summary to help me find the one I want. Geoff. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ----------------------------------------------------------- Geoff, The function you are looking for is SUBSTR(); I understand you have the manual open and you think you can find the answer pretty quickly. Please understand that knowing a little, to advanced features of all functions will help you significantly. It will cut down on research time and you have a better understanding of what function will better fit the situation at hand. While some people will never fully remember all syntax of every function it never hurt anyone in attempting to understand a majority of PHP functionality. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php