Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split function without delimiter
#1
Solved: 11 Years, 4 Months ago
Hi Everyone,
I have a number of links in one string and I want to click on them 1 by 1. But the problem I am facing is that there is no delimiter in the string. No space, decimal or anything. Its just one long line of letters with no space in between.

The code I'm using is
Code:
str=Browser("").Page("").WebElement(Desc).GetROProperty("innertext")
msgbox str
MyArray = Split(str, "", -1, 1)
Msgbox MyArray (0)
(it just gives me the string without splitting it)

My question is how do I split the string with no delimiter.
Thanks in advance
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 Ankur - 06-10-2009, 07:54 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)