Jump to content

[SOLVED] change second occurance in a string


tbare

Recommended Posts

the 0 tells it not to cut off everything after the insert.

 

If given and is positive' date=' it represents the length of the portion of string  which is to be replaced. If it is negative, it represents the number of characters from the end of string  at which to stop replacing. If it is not given, then it will default to strlen( string  ); i.e. end the replacing at the end of string . Of course, if length  is zero then this function will have the effect of inserting replacement  into string  at the given start  offset. [/quote']

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.