wraithdu Posted August 5, 2008 Share Posted August 5, 2008 (edited) Should IniRead() strip quotes from an INI value? For example - test.ini [test] string="hello world" IniRead() on this will output hello world without the quotes. No biggie here. But if you're storing app paths in INI files like this path="C:\path with space\to\app.exe" "%1" then you get the wrong string after IniRead(). I've worked around it by wrapping any strings that might contain quotes in single quotes ( ' ' ). But after thinking about it more, I wonder if IniRead() should be touching quote characters at all? I can submit a bug ticket if you (Valik) think it's appropriate. Edited August 5, 2008 by wraithdu Link to comment Share on other sites More sharing options...
Valik Posted August 5, 2008 Share Posted August 5, 2008 It's not a bug, no need for a ticket. Just continue to quote the quoted string and you'll be fine. Link to comment Share on other sites More sharing options...
wraithdu Posted August 5, 2008 Author Share Posted August 5, 2008 Ok, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now