Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing ASCII Control Characters from a file
#1
Not Solved
Hi,
I am automating a POS - application. After completing a transaction i get a receipt file in DB. The file when opened contains a lot of junk characters(Includes text,number,special characters). It also contains ASCII control values like SOH,STX,ETX. These lines are only readable when opened in notepad++ . In notepad or wordpad it looks like a junk character.
I need to extract values that match to fees, cash, total so that i can validate it with actuals. I'm facing issue with extracting these value. I need to remove the ASCII value to make the file in a readable format.
I am using QTP for automation. Help me out in this regard.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spaces and special characters in datatable headings anthony1carr 2 4,233 10-21-2013, 08:33 PM
Last Post: anthony1carr
  How to extract part of a string between two particular characters. ACCBAJPA 7 5,939 08-22-2013, 02:39 PM
Last Post: ACCBAJPA
  How to I send Characters using Shell Command Sathiyakum 0 3,468 01-22-2011, 02:10 AM
Last Post: Sathiyakum
  Removing commas from a string and changing it to number indranilgoswamimcb 3 8,702 12-31-2010, 10:40 AM
Last Post: rajeshwar
  Ascii Characters Appear while typing in Test Page SaiJyothsana 2 2,876 11-10-2010, 04:52 PM
Last Post: SaiJyothsana

Forum Jump:


Users browsing this thread: 1 Guest(s)