A string question
| From: | Chris Payne | Date: | Fri, 28 Sep 2012 13:29:12 +0000 |
| Subject: | A string question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319295@lists.php.net to get a copy of this message | ||
Hi there everyone,
I basically have the following code, which grabs the 3 numbers to the right:
$input = "250705023";
$resta = substr($input, -3, 3);
Then I manipulate them a little, but my question is - how, once i've used
them to create different values - can I put them back in the original
string at the same location?
Got me a bit confused.
Chris