Jump to content

Quick String Question


glenelkins

Recommended Posts

Hi

For some reason after writing so many php programs i cannot remember how to take off a number of characters from the front of a string (in this case the first 2). Trim() is useless in this circumstance. Any other options??

Cheers
[a href=\"http://ca.php.net/manual/en/function.substr.php\" target=\"_blank\"]the substr() function[/a] with the [a href=\"http://ca.php.net/manual/en/function.strlen.php\" target=\"_blank\"]strlen() function[/a]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.