Similar function as GetField in QTP
I have a string "A:Apple" and I want to retrieve in string sString = GetField(A:Apple, ":", 1) since I want to retrieve sTring = "A". How do I do that in QTP?Can someone please help? Thanks
Re: Similar function as GetField in QTP
try using split
str = "A:Apple"
a = split(str,":")
now a(0) = A