Jump to content

Archived

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

glenelkins

Quick String Question

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

Share this post


Link to post
Share on other sites
[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]

Share this post


Link to post
Share on other sites

×

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.