Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split function without delimiter
#6
Solved: 12 Years, 10 Months, 3 Weeks ago
If you are getting a string like that, then unless you know what text will be coming and in what order I don't think there is a way to split it programmatically. Possibly build a dictionary and compare bits of the string against the dictionary entries.

If you know what will be coming in the string you can use the VBS Left() and Right() functions to grab parts of the string and put them into other variables, but you will need to know the length of each string and the order that is appears in.

Best bet would be to have the DB query that returns the string throw some delimiters. Pass the work upstream! Wink
Reply


Messages In This Thread
Split function without delimiter - by NeedQTPHelp - 06-09-2009, 11:15 PM
RE: Split function without delimiter - by Ankur - 06-09-2009, 11:30 PM
RE: Split function without delimiter - by VREntropy - 06-11-2009, 02:38 AM
RE: Split function without delimiter - by Ankur - 06-10-2009, 07:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split function in string nidhishnair 13 66,982 07-07-2020, 03:47 PM
Last Post: helmzshelmz
Question Split Function Chaithra N 0 1,476 12-18-2019, 11:33 AM
Last Post: Chaithra N
  Split a string with multiple delimiters in VBScript nandha 2 9,524 02-10-2018, 06:44 PM
Last Post: nandha
  Calling a function in a Test Script from a function library anupam4j 3 6,847 06-26-2015, 12:31 AM
Last Post: babu123
  Split Function diya 2 6,306 11-28-2012, 08:49 PM
Last Post: diya

Forum Jump:


Users browsing this thread: 1 Guest(s)