GetPVProfString and Double Quotes (")
Posted: Wed Jan 09, 2008 3:59 pm
Hi everyone,
I'm using GetPVProfString to return an entry from an ini file that contains double quotes ("). However the function is stripping off the quotes and just returning the data within the quotes.
An example:
GetPVProfString returns this entry as : and not ":".
If I add extra single quotes to the ini file entry:
This returns ":".
I can use the second method as a work-around for now but would prefer to keep my ini file entries as simple as possible.
Is this how the function is supposed to work or is it a bug?
Kind regards,
Barry O'Brien
I'm using GetPVProfString to return an entry from an ini file that contains double quotes ("). However the function is stripping off the quotes and just returning the data within the quotes.
An example:
Code: Select all
[Test]
Entry=":"
If I add extra single quotes to the ini file entry:
Code: Select all
[Test]
Entry='":"'
I can use the second method as a work-around for now but would prefer to keep my ini file entries as simple as possible.
Is this how the function is supposed to work or is it a bug?
Kind regards,
Barry O'Brien