Ah, so what you are saying is that since INIReader simply adds new values to the key:value pair by catenating them with a new line character. A rather poor design. Anyway, if you want the last value then use find_last_of(). The biggest problem here is whether the package accepts null values If it does then you will need to deal with multiple new lines. Frankly, I think that consider it an error if a null value is found (i.e. if the '/n' is in the first or last position). Anyway, my simple example would still hold.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1