Replace a word with another.
#2

Not sure if this will help, but you can use strdel and strins.
Example: (I found it somewhere around here)
pawn Code:
new s1[128] = "I'm eating cakes";
new s2[] = "shitting";

strdel(s1, 4, 10);
strins(s1, s2, 4);
   
print(s1);
Reply


Messages In This Thread
Replace a word with another. - by Zh3r0 - 05.02.2011, 20:09
Re: Replace a word with another. - by xRyder - 05.02.2011, 20:20
Re: Replace a word with another. - by Zh3r0 - 05.02.2011, 20:23
Re: Replace a word with another. - by Mauzen - 05.02.2011, 20:28
Re: Replace a word with another. - by Hiddos - 05.02.2011, 20:29
Re: Replace a word with another. - by [03]Garsino - 05.02.2011, 20:31

Forum Jump:


Users browsing this thread: 1 Guest(s)