[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] leading/trailing spaces after var interpolation
On 19 Sep, Scott Goodman wrote:
>
> Hi,
>
> How do I get rid of leading/trailing whitespace when using scratch variables? I'm doing something like
>
> [set othervar]
^^^^^^ --> [seti ....
> secondpart
> [/seti]
>
> [seti somevar]
> firstpart-[scratch othervar]
> [seti]
^^^^^^^^ --> [/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.
This
[seti othervar]
secondpart
[/seti]
[seti somevar]
firstpart-[scratch othervar]
[/seti]
<BR>
TEST: ****[scratch somevar]*****
make
TEST: **** firstpart- secondpart *****
^ ^
and this
[seti othervar]secondpart[/seti]
[seti somevar]firstpart-[scratch othervar][/seti]
<BR>
TEST: ****[scratch somevar]*****
make
TEST: ****firstpart-secondpart*****
Regards,
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users