You see, I am reading an xml file where each entry has the following format:
<BatchIdentifier>[ID_FACTURA]</BatchIdentifier>
I capture each line in the file with:
string line;
while(getline(plantilla,line,'\n')){//PARA HACER LO MISMO CON CADA LINEA DEL FICHERO
while()
}
My question is how can I read from the opening bracket and finish reading from the closing one? If there is any function to start reading from a delimiter because obviously, what is at the beginning and at the end of that line they are labels of xml
, we are only interested in storing what is in the middle
Help is appreciated. Thank you
you can see it workingaquí