ok thanks
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 16:07
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template
By the way, did you know u can do $elem.Telno as a shortcut..
Regards,
Daniel
On Thu, 8 Jul 2004, Melanie
: Jones Michael, Slough [mailto:[EMAIL PROTECTED]
> Sent: 08 July 2004 11:44
> To: Turbine Users List
> Subject: RE: Displaying spaces in a string in the template
>
>
>
> value="$elem.getTelno()" ??
>
> -Original Message-
> From: Melanie Philpot [m
ok thanks, good point about the xhtml
Melanie
-Original Message-
From: Jones Michael, Slough [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 12:01
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template
Sorry...
value="$elem.getTelno()"
T
m: Melanie Philpot [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 11:56
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template
yes elem is an element in a vector.
The element is an object which has the method getTelno() to return the
Telno.
-Original Message-
F
template
value="$elem.getTelno()" ??
-Original Message-
From: Melanie Philpot [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 11:34
To: Turbine User (E-mail)
Subject: Displaying spaces in a string in the template
Hi
I want to display a string with spaces in, but the template trims
value="$elem.getTelno()" ??
-Original Message-
From: Melanie Philpot [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 11:34
To: Turbine User (E-mail)
Subject: Displaying spaces in a string in the template
Hi
I want to display a string with spaces in, but the template trims it f
Hi
I want to display a string with spaces in, but the template trims it for me when it
come across a space.
e.g. string 01252 123456
is displayed as 01252
This is the code in the template:
Is there anyway around this?
Thanks
Melanie
==