Replacing substrings
#10

PHP Code:
main()
{
    new
        
sOriginal[256],
        
sNewString[256]
 
    
strins(sOriginal"$$$"0);
 
    
sNewString str_replace("$$$""$1234"sOriginal)
 
    
printf("New str:  %s"sNewString)

Reply


Messages In This Thread
Replacing substrings - by MP2 - 24.08.2011, 19:21
Re: Replacing substrings - by [HiC]TheKiller - 24.08.2011, 20:10
Re: Replacing substrings - by MP2 - 25.08.2011, 00:25
Re: Replacing substrings - by Kingunit - 25.08.2011, 00:26
Re: Replacing substrings - by =WoR=G4M3Ov3r - 25.08.2011, 00:28
Re: Replacing substrings - by Davz*|*Criss - 25.08.2011, 00:29
Re: Replacing substrings - by MP2 - 25.08.2011, 00:38
Re: Replacing substrings - by MP2 - 25.08.2011, 00:48
Re: Replacing substrings - by RyDeR` - 25.08.2011, 00:51
Re: Replacing substrings - by =WoR=G4M3Ov3r - 25.08.2011, 00:52
Re: Replacing substrings - by MP2 - 25.08.2011, 02:06
Re: Replacing substrings - by Drako1407 - 25.08.2011, 02:12
Re: Replacing substrings - by RyDeR` - 25.08.2011, 03:09

Forum Jump:


Users browsing this thread: 2 Guest(s)