25.12.2014, 14:32
Quote:
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. |
(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.