hi
im trying to combine strings from a database to form a url, the problem is some strings end with a "/" and some start with a "/".
eg string1 - string2
http://www.somecoolwebsite.com/ /images/index.html
as you can see when i add them together they form http://www.somecoolwebsite.com//images/index.html
I need to somehow remove the leading slash from the second string if there is a trailing slash on the first string.
any help is appreciated.