string="/programs/tests/helloWorld"
I need to get only the "helloWorld" part in another variable. How can I do that?
Posted 21 October 2012 - 02:29 PM
string="/programs/tests/helloWorld"
Posted 21 October 2012 - 03:01 PM
Posted 21 October 2012 - 06:19 PM
string="/programs/tests/helloWorld" local file = string.match(string, "/(%w+)$")
0 members, 2 guests, 0 anonymous users