Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get only numeric values from text
#5
Solved: 11 Years, 4 Months ago
Depends on where you want to use. In the above scenario replace is cumbersome because you want to replace multiple values. while split would simply tear the rest and give you what you need at one shot.Moreover, when you split you can reuse the other part( which would be in the array) while replace, just replaces the data.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: how to get only numeric values from text - by basanth27 - 03-09-2011, 12:01 PM

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,905 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Validate Numeric value is displaying expected format kalaivanan123 1 3,508 09-23-2013, 08:45 PM
Last Post: ravi.gajul
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,674 08-13-2013, 08:37 PM
Last Post: excellentpawan
  how to pass a numeric value into webedit silpavinod 3 3,867 10-15-2012, 01:57 PM
Last Post: silpavinod
  Need help on numeric value display AutomationTester2011 3 3,222 07-19-2011, 05:40 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 4 Guest(s)