Is there any way to split?
#7

sscanf would be possible but isn't perfect as it expects a certain amount of Strings (split can operate on any amount of sub-strings within the limit (at least in PAWN there must be a limit)).

https://sampforum.blast.hk/showthread.php?tid=362764 - strlib by Slice

The function "strexplode" is what you are looking for. This Include also has a lot of other very useful string functions.
Reply


Messages In This Thread
Is there any way to split? - by Osamakurdi - 20.03.2018, 16:06
Re: Is there any way to split? - by CantBeJohn - 20.03.2018, 16:14
Re: Is there any way to split? - by Osamakurdi - 20.03.2018, 16:19
Re: Is there any way to split? - by CantBeJohn - 20.03.2018, 16:42
Re: Is there any way to split? - by Osamakurdi - 20.03.2018, 16:57
Re: Is there any way to split? - by ball - 20.03.2018, 17:17
Re: Is there any way to split? - by NaS - 20.03.2018, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)