in reply to Re: How do I replace a substring (if exists) with a different substring in a string?
in thread How do I replace a substring (if exists) with a different substring in a string?

actually you can change:
substr( $string, $pos, $length( $find ), $replace );
with this one:
substr( $created, $pos, length( $find ), $replace );
$length is not function!!!
  • Comment on Re: Answer: How do I replace a substring (if exists) with a different substring in a string?
  • Select or Download Code