Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I was looking to concatenate URL based on keyword given. I passed a variable called "udefine" however, I'm not able to execute the complete concatenated URL. Code provided below.

Please help


set str1="http://myuti.eit.go2uti.com/owd/ITII/_layouts/OSSSearchResults.aspx?k="
set str2=%udefine%
set str3="^&cs=This%%20Site^&u=http%%3A%%2F%%2Fmyuti.eit.go2uti.com%%2Fowd%%2FITII"
echo "string_list=%str1%%str2%%str3%"


I'm looking to concatenate str1, str2 and str3 as single URL based on input value to str2, the URL should change.
Posted
Comments
ZurdoDev 23-Oct-15 22:21pm    
What does this code currently give you and what are you expecting or needing it to be?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900