Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I store a string with variable in it, in another variable?
#1
Solved: 10 Years, 9 Months ago
Hi All,

I have a string like this

Code:
<A href="manage_contact_edit.htm?contactId=newstr>Edit</A>

where newstr is a variable

I want to store the above string in a variable like this

Code:
str = "<A href="manage_contact_edit.htm?contactId=newstr>Edit</A>"

Its giving me an error "Expected End of Statement"

can anybody tell me how to store the above string in a variable?

Thanks in advance.

Regards,
Reema.
Reply


Messages In This Thread
how can I store a string with variable in it, in another variable? - by reejais - 11-11-2010, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Inserting variable values into Descriptive Programming Functions eske99 2 3,146 12-18-2015, 01:47 PM
Last Post: vinod123
  Can you please help me in QTP DP to pass the variable name anshika.agarwal 1 2,597 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  Assigning object properties to a variable using dp nmakkena 1 3,756 04-18-2014, 06:46 AM
Last Post: kgovadav
  variable is undefined: wscript shipu 1 4,367 01-09-2014, 07:23 AM
Last Post: basanth27
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 4,462 11-07-2013, 08:26 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)