SA-MP Forums Archive
strval and strmid - 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)
+--- Thread: strval and strmid (/showthread.php?tid=316111)



strval and strmid - vent - 05.02.2012

Hello! I have an question. Can I use strval for names too or I have to use strmid?


Re: strval and strmid - Konstantinos - 05.02.2012

Strval converts a string to an integer.
Strmid extracts a range of characters from a string.

That depends on what do you want to do. I don't think so that you want to convert the string into an integer, neither to extract a specific range of Chars from a string.