![]() |
split the values in url ....................... - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: split the values in url ....................... (/Thread-split-the-values-in-url) |
split the values in url ....................... - rjkmr.aiht - 05-21-2012 hi this is my URL which i got from getroproperty https://cs11.salesforce.com/00QZ0000001J1zV when its fetched i need to split the last 15 characters after.com/ so any one please tell me that code for spliting a=leadIDtable.GetROProperty("url") '''' msgbox a '''' '''' b=right(a,15) '''' msgbox b '''' datatable.Value("ID","IDlead")=b RE: split the values in url ....................... - Arul - 05-21-2012 Hi, Try this Code: Dim a Thanks, Arul.D RE: split the values in url ....................... - kotaramamohana - 05-21-2012 you can use below mentioned method also Code: dynamicstring=split(a,".com/") RE: split the values in url ....................... - Ankesh - 05-21-2012 Modifying arul's post.. Code: Dim a Regards, Ankesh |