A string question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux