I want to get the verision out from a users infostring, but there is a dot after the digit, I can't seem to find a way to do this correct.
local s,e,version = strfind(DATA,"V:(%d+)")
ah, never mind, figured it out :)
What did you use?
was it;local s,e,version = strfind(DATA,"V:(%w.%w+)")
I'm curious
well, i didn't know exactly how to do so first it was
local s,e,version = strfind(DATA,"V:(%d).(%d+)")
Which ofcorse didn't work..
then i took another look in the manual and ended up with
local s,e,version = strfind(DATA,"V:(%d.%d+)")
QuoteOriginally posted by kepp
well, i didn't know exactly how to do so first it was
local s,e,version = strfind(DATA,"V:(%d).(%d+)")
Which ofcorse didn't work..
then i took another look in the manual and ended up with
local s,e,version = strfind(DATA,"V:(%d.%d+)")
check my just posted pattern matching part 2, you can do this with magic.
lets see if i explained it all correct. lol
plop