Esa_Kuusisto_27
Nov 21, 2007Nimbostratus
Best way to get one part of the url to variable
Hi all
I have problem getting one part of the url to variable. I need example test variable and contents of the variable I can get from url. I always need the first part from the url between slashes.
Example /sales/office
I need to get that sales. I did try using string range, but I didn't find any way else to limit how much get from url than giving end-command or index number. If I replace sales with marketing or something else longer or shorter I cannot use static index number.
-Esa