On Fri, Jul 11, 2014 at 11:16 AM, ckrusen1@... [vantage] <vantage@yahoogroups.com> wrote:
<div> <p></p><p>I need to have the { and } characters in a string variable in a Progress .p file.</p><p><br></p><p>But the following line throws an exception</p><p><br></p><p>s = "<style>table, th, td {border: 1px solid black;}</style>".<br>
is there a way to escape the brace character? Something like ' \{ ' ??
I guess I could use the CHAR (or whatever the actual ascii number to character function is).
but then that line would have to be:
s = "<style>table, th, td "+CHAR(123)+"border: 1px solid black;"+CHAR(125+")</style>".
but I would rather not.
Any help would be appreciated.
</div> <div style="color:#fff;min-height:0;"></div>
Try the tilde as escape char
~{ and ~}
I need to have the { and } characters in a string variable in a Progress .p file.
But the following line throws an exception
s = "<style>table, th, td {border: 1px solid black;}</style>".
is there a way to escape the brace character? Something like ' \{ ' ??
I guess I could use the CHAR (or whatever the actual ascii number to character function is).
but then that line would have to be:
s = "<style>table, th, td "+CHAR(123)+"border: 1px solid black;"+CHAR(125+")</style>".
but I would rather not.
Any help would be appreciated.