just like i use
substr($sometext, 4, 10)
to select a certain part of a string, how can I remove that certain part from the string using the exact positioning?
just like i use
substr($sometext, 4, 10)
to select a certain part of a string, how can I remove that certain part from the string using the exact positioning?
You could use two substrings:
$new_string = substr($sometext, 0, 4) . substr($sometext, 10);