Posts by Heraclito Ferreira • 3 points
1 post
-
0
votes1
answer546
viewsQ: PHP: Character substitution within a string a parti of a certain position
I’m in need of a PHP way to replace parts of strings from a given position, for example: String: aaaaaaaaaa Replace from the 3º character by "-" Result: aaa------- or String: aaaaaaaaaa Replace…