Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing commas from a string and changing it to number
#1
Not Solved
Hi,

I have the following query. I am reading the "value" attribute of a webelement and it is containing numbers like 99,99,9910 or 89,012 etc.

I need to eliminate the commas from these numbers and change the data type into numbers like 99999910 and 89012.
I have to write a function for the same in VBscripting in QTP10.

Also, if there is any in built function in QTP then I would like to know the same.

Thanks,
Indranil.
Reply


Messages In This Thread
Removing commas from a string and changing it to number - by indranilgoswamimcb - 12-29-2010, 02:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing Data in the application newbieny 0 856 07-17-2019, 07:19 PM
Last Post: newbieny
  Removing ASCII Control Characters from a file Nithin 0 5,510 09-30-2013, 11:45 PM
Last Post: Nithin
  VB Script:number of times a character appears in a string with position Jyobtech 1 11,750 08-07-2013, 01:03 PM
Last Post: anil2u
  How to have a variable that has a string comma string .. shareq1310 5 4,794 11-09-2011, 03:33 PM
Last Post: parminderdhiman84
  Changing default browser cowboy49 5 9,358 09-08-2011, 04:02 PM
Last Post: souvikghosh_diatm

Forum Jump:


Users browsing this thread: 1 Guest(s)