[ic] leading/trailing spaces after var interpolation

Scott Goodman scott@searchbc.com
Tue, 19 Sep 2000 18:10:25 -0700


Hi,

How do I get rid of leading/trailing whitespace when using scratch variables? I'm doing something like

[set othervar]
secondpart
[/seti]

[seti somevar]
firstpart-[scratch othervar]
[seti]

The value of somevar is firstpart- secondpart (space after hyphen). It's not always when I'm nesting a [scratch] inside a
[set]...the [scratch] always seems to have the leading/trailing space. I'm assuming this is because IC is replacing the '[' and
']' with whitespace during interpolation.

Scott