Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Splitting a text which starts with "
#1
Not Solved
Hi,

I am taking a text value from a web application (using GetROProperty), and i need to split this text where an " appears.
For eg hello " need this " text
in the above eg i need to take the value : need this
Should I use an array and split the text or use Instr function ?
Reply
#2
Not Solved
Hi,

Use Split function and call the array with desired index number.

Regards,
Sankalp
Reply
#3
Not Solved
Code:
str1="Thomas Vinod"
var=split(str1," ")
lenarray=ubound(var)
For i=0 to lenarray
str2=var(i)
msgbox str2
Next

Regards
Thomas Vinod
Reply
#4
Not Solved
Hi,

For your text <<hello "need this">> , you can use split function as below.

var = Split(text, """")

you will get <<need this>> in var(1)

Regards,
Saleel
Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,975 09-13-2015, 12:06 AM
Last Post: ADITI1992
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,753 08-13-2013, 08:37 PM
Last Post: excellentpawan
  Need Help Splitting a string Brian.Osborne 1 3,064 03-10-2011, 10:45 PM
Last Post: tdevick
  Splitting value of cell in Excel sheet janriis 2 4,556 02-02-2011, 11:33 PM
Last Post: sreekanth chilam
  how to find a particular text in a text string pjavvaru 3 17,189 06-04-2010, 08:49 PM
Last Post: jsknight1969

Forum Jump:


Users browsing this thread: 1 Guest(s)