View Single Post
Old 01 May 2020, 17:45   #5
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 813
That was another question I was going to ask. Basically I have a simple property file.
At the moment I am reading the file to memory and then traverse the memory checking each character and using flags to determine if I am building a key (at start or after new line is reached) or a value (after the '=' is seen). At the moment I am ignoring extra spaces at the start and end of a key or a value.

Are there helper function readily available to which I can pass a stream of characters and get the key,value list for it rather than have to do this myself?

Originally Posted by alkis View Post
What's the use case for that? What are you trying to do?
Sim085 is offline  
Page generated in 0.04619 seconds with 11 queries