SA-MP Forums Archive
Find value in string after word - 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: Find value in string after word (/showthread.php?tid=626797)



Find value in string after word - MerryDeer - 20.01.2017

Hi,

I have any string like that:


asdsaqwedasd
Hi mane name is: test
My age is: 18
igmksmdfksdfk

How to get what is after name is: and age is


Re: Find value in string after word - aymane123 - 20.01.2017

Well i just learned that 1 day ago u have to use the string and the string format like %s or something.


Re: Find value in string after word - Yaa - 20.01.2017

Quote:
Originally Posted by aymane123
Посмотреть сообщение
Well i just learned that 1 day ago u have to use the string and the string format like %s or something.


try use strfind function