Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

String replace by index value

Sun Oct 26, 2008 10:22 pm

Code:

<?
print(substr_replace("ABCDEFG""-"23));
?>




Post a reply
  Related Posts  to : String replace by index value
 search in a string and replace     -  
 String replace with Regular Expressions     -  
 Reference Array by index     -  
 Remove a portion of the array and replace it with something     -  
 Splitting a String Based on a Found String     -  
 recursive string reversal- reverse string     -  
 check if string ends with specific sub-string in php     -  
 check if string start with a specific sub-string in PHP     -  
 String token for string split     -  
 Pad a string to a certain length with another string     -  

Topic Tags

PHP Strings