SA-MP Forums Archive
[Help]String.inc - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help]String.inc (/showthread.php?tid=106287)



[Help]String.inc - Dirty_bum - 02.11.2009

Hello!, i've never really knew what the main functions are in "String.inc" can you tell me what the main ones do?
i have try'd to find what they do in the wiki but didnt find any page on them

Thanks


Re: [Help]String.inc - Dabombber - 02.11.2009

http://www.compuphase.com/pawn/String_Manipulation.pdf

Samp uses an old version of pawn so not all the functions are included. Also
Quote:

Several functions have a parameter that specifies the maximum number of cells that a destination buffer can hold. The purpose of this parameter is to avoid an accidental buffer overrun.

isn't true for the strins function, which can still overflow.