I am trying to take part of a variable, i have the code which takes the URL
<cfset heading_to = URLDecode(site)>
URLDecode(site) is always in the form /images/orgcharts/pic.jpg i just want the pic.jpg part, is there a way to manipulate this in CF. I have a mysql database and this heading_to then gets stored in a mysql db so i could take it straight from that but have had no success as subqueries are not supported.
Any Help REALLY appreciated
Thanks in advance...
<cfset heading_to = URLDecode(site)>
URLDecode(site) is always in the form /images/orgcharts/pic.jpg i just want the pic.jpg part, is there a way to manipulate this in CF. I have a mysql database and this heading_to then gets stored in a mysql db so i could take it straight from that but have had no success as subqueries are not supported.
Any Help REALLY appreciated
Thanks in advance...