get section from string
#1

hy. i waht to get some number from a string..
for e.x. the string is "1. blablablabal bablab babla
and i want "1." to a new variable.
or i want to get a first two character from a string. how i can do this? thanks
Reply
#2

Use sscanf by ******
click here
Reply
#3

Use strmid() function.
https://sampwiki.blast.hk/wiki/Strmid
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)