I have cgi.path_info that is always formatted like this
How do I get the ALWAYS numeric value after show/
For example, in this case, I want to get the 80865 value.
This can easily be done, if you treat the value as a list with / being the delimiter.
<cfset variables.thisNumber = ListLast(cgi.path_info,'/') />
^ _ ^
As always, thank you.
Thank you for marking my answer as correct. I do appreciate it.
^ _ ^
BTW.. for anyone who likes complex for the sake of complexity you can use RegEx.
<cfset variables.thisNumber = REmatch("\d+$",cgi.path_info) />