The code above produce the result above.Code:code <?php $myString = '11-22-33'; echo $myString; ?> result 11-22-33
I like to change from "-" to "+".
The following would-be code doesn't work correctly, but it will show what I want.
How can I get my target result above from $myString "11-22-33?"Code:would-be code <?php $myString = '11-22-33'; $myStringChanging = changingMystring($myString, from '-' to '+'); echo $myStringChanging; ?> target result 11+22+33