Hello,
I am reading the following line from an XML file. There are several such lines in each XML file. However I only want to capture the bytes from each tag and add up the total bytes. This will tell me how much data was backed up (the XML file is produced by our backup software).
However, I dont know how to read the following line in a way so that I chop off all the characters except the byte count and then store it as an integer. Appreciate your advice. Thanks.
I am reading the following line from an XML file. There are several such lines in each XML file. However I only want to capture the bytes from each tag and add up the total bytes. This will tell me how much data was backed up (the XML file is produced by our backup software).
However, I dont know how to read the following line in a way so that I chop off all the characters except the byte count and then store it as an integer. Appreciate your advice. Thanks.
Code:
<new_processed_bytes>Processed 147144589684 bytes in 55 minutes and 2 seconds.</new_processed_bytes>