S
- Steve -
I have a string that contains something along the lines of this:
This is a body of an e-mail message. I have no idea how long it goes, how
it ends, etc.
------ Do not modify below ------
<query>filename.csv</query>
I need to split the string into two parts. The body of the message part,
and I need to extract the filename between the <query> brackets. What's the
best way to go about this? I was thinking I could find the index of "------
Do not modify below ------" but that seems like a flakey way to do it.
This is a body of an e-mail message. I have no idea how long it goes, how
it ends, etc.
------ Do not modify below ------
<query>filename.csv</query>
I need to split the string into two parts. The body of the message part,
and I need to extract the filename between the <query> brackets. What's the
best way to go about this? I was thinking I could find the index of "------
Do not modify below ------" but that seems like a flakey way to do it.