/ Published in: PHP
use this function to insert a string into another string at a certain position.
echo insertString("legendary", " wait for it ... ", 5);
legen wait for it ... dary
echo insertString("legendary", " wait for it ... ", 5);
legen wait for it ... dary
Expand |
Embed | Plain Text
URL: http://justpushbuttons.com/examples/insert_string_example.php