[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] tree data, embedding a language or string interpol
From: |
Michael Anderson |
Subject: |
Re: [open-cobol-list] tree data, embedding a language or string interpolation? |
Date: |
Sat, 16 Mar 2013 11:16:29 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 |
Patrick,
I just noticed my example was missing some quotes, it should have been:
Move Substitute("<title> $title</title>" ,"$title",mytitle) To MyHtml.
But it could just as well be a variable, like:
01 MySourceHtml Pic X(32000) Value "<title> $title</title>".
Move Substitute(MySourceHtml ,"$title",trim(mytitle)) To MyHtml.
As for the 255 limit, I don't know of any,
I use Pic X(32768) all the time, then with trim() it could be used to
output 0 to 32k characters.
Anyone else know?