Wow, that was fast - many thanks. Cheers
Russell -- ----------------------------------- Russell Curtis M +44 (0) 7796268780 www.russellcurtis.com www.buildingdetails.co.uk "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Russell Curtis" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi > > > > Anyone know how to clip the number of characters in a string? For > instance, > > I have a string carrying a long piece of text, say, of 200 characters, but > I > > want to reduce this to just the first 100 characters. > > http://de2.php.net/manual/en/function.substr.php > > Regards, > > Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php