How to Replace part of String?
#5

You can use 'strdel' & 'strfind' & 'strins'

Try to compile and start this... (: example...
pawn Код:
public OnGameModeInit()
{
    new wii[30] = "I'm going to work";
    print(wii);
    strdel(wii,13,17);
    print(wii);
    strins(wii, "school", 13);
    print(wii);
    return 1;
}
Reply


Messages In This Thread
How to Replace part of String? - by Dragony92 - 05.12.2011, 00:40
Re: How to Replace part of String? - by Luis- - 05.12.2011, 00:49
Re: How to Replace part of String? - by Dragony92 - 05.12.2011, 00:58
Re: How to Replace part of String? - by Luis- - 05.12.2011, 01:02
Re: How to Replace part of String? - by WLSF - 05.12.2011, 01:02
Re: How to Replace part of String? - by Dragony92 - 05.12.2011, 01:12
Re: How to Replace part of String? - by Dragony92 - 05.12.2011, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)