Re: [Clip] Forming strings from separate lines
> I have encountered a situation where data from from a 2-lineHi John,
> table ends up with each data element on a separate line.
> I'd like to format them as indicated.
> Of course, sometimes it won't be N/A, but the actual value,
> of variable length, such as 125mg. Also, there may be a
> different number of elements, though I haven't seen any examples
> of that yet.
If you have the table data in a separate document, with no trailing blank lines, this should work (well, it does for me).
^!Set %NewLine%=^$getLine$: ^$getLine(+^%StopAt%)$
^!If ^$GetRow$>^%StopAt% INSERT
[Non-text portions of this message have been removed]