Firstname lastname
#5

Quote:
Originally Posted by Flori
Посмотреть сообщение
It's easy to detect it in a string(the playername) and then you can make 2 strings out of this one.
It's the output that strfind gives.
First of all, how am i supposed to make 2 strings out of a strfind line, and make them work giving firstname lastname to put somewhere else, and i don't even understand what the output is?

(const string[],const sub[],bool:ignorecase=false,pos=0)
const string[] The string you want to search in (haystack).
const sub[] The string you want to search for (needle).
ignorecase (optional) When set to true, the case doesn't matter - HeLLo is the same as Hello. When false, they're not the same.
Position (optional)

This is the wiki page for strfind, i don't see how that's gonna divide firstname and lastname from each other, and them make a parameter(think its called) to put it in another string.
Reply


Messages In This Thread
Firstname lastname - by CalvinC - 25.12.2014, 13:11
AW: Firstname lastname - by Flori - 25.12.2014, 13:19
Re: Firstname lastname - by CalvinC - 25.12.2014, 13:23
AW: Firstname lastname - by Flori - 25.12.2014, 13:38
Re: AW: Firstname lastname - by CalvinC - 25.12.2014, 14:32
AW: Firstname lastname - by Flori - 25.12.2014, 14:42
Re: AW: Firstname lastname - by CalvinC - 25.12.2014, 19:08
Re: Firstname lastname - by CalvinC - 26.12.2014, 17:25
Re: Firstname lastname - by jackx3rx - 26.12.2014, 17:35
Re: Firstname lastname - by MrCallum - 26.12.2014, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)