in reply to Re: Extract string from rear of string
in thread Extract string from rear of string
Your really should not use \w as many file systems will allow characters other than alpha-numerics. For instance 'file.$#@%' would be a valid name but would break your code.