Micro Focus QTP (UFT) Forums
How to split string. - 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: How to split string. (/Thread-How-to-split-string)



How to split string. - logeshkumarvb - 09-03-2010

I have captured values to a string using getvisible property,
can some one suggest how to split the values from string using vbscript.


RE: How to split string. - venkatbatchu - 09-04-2010

Code:
Variable=Split("string","Delimeter")
Code:
temp=Split("Venkat Batchu","")
'Here ii have used space as the delimeter"
Finally u will get the out put as like below one.

Code:
temp(0)="Venkat"
temp(1)="Batchu"

Please let me know for further clarification.

Regards,
Venkat.Batchu