I have two value in a single cell of excel file and I want to write it in the URL. Can some help me with it?
The expression used to get the value from excel is:
“http://0.0.0.0:0000/v1.0/api/StickyNotes?noteTypeId=4&vNo=” +row(“NO”).ToString +“&ID=” +row(“ID”).ToString +" "
Hi,
Please elaborate your issue.
If you want the url value like “http://0.0.0.0:0000/v1.0/api/StickyNotes?noteTypeId=4&vNo=1116887&ID=056A072A" - Solution is replace the newline (“\n”) with “” if ID value is having new line. If there is no new line or any space between 056A and 072A then your expression is right.
@Venugopal24 Is it possible to use , as separator if we want to add 2 values together in the URL. And yes there is space in the cell. Can you please help me with it.
you can check the condition if it is having space If(stringVariable.contains(" ")) then give the logic for replace otherwise no need to give replace logic