A space is <@char 20>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:owner-witango-talk@;witango.com]On Behalf Of Web Dude
Sent: Tuesday, November 05, 2002 10:44 AM
To: Multiple recipients of list witango-talk
Subject: RE: Witango-Talk: String Length


Do you know the <@CHAR> for a space????

>You could also use <@pad>.
><@left <@pad str="yourString" char=" " numchars=15 position=after> 15>
>
>You could replace char=" " with char="&nbsp;" if necessary.
>
><@pad> was added in T2K SP1 and is described in the T2K_SP1_WhatsNew.pdf
>
>Dave Shelley
>[EMAIL PROTECTED]
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:owner-witango-talk@;witango.com]On Behalf Of Jon Grieve
>Sent: Tuesday, November 05, 2002 9:57 AM
>To: Multiple recipients of list witango-talk
>Subject: RE: Witango-Talk: String Length
>
>
>
>I'd use something like:
>
><@VAR local$Len 15>
><@VAR local$Spaces "                                      ">
>
><@LEFT "<@VAR local$MyString><@VAR local$Spaces>" <@VAR local$Len>>
>
>Of course, browsers ignore repeating spaces, so you'd also need to:
>
><@REPLACE STR="<@VAR foo$bar>" FINDSTR=" " REPLACESTR="&nbsp;'">
>
>Jon
>
>
>
>
>-----Original Message-----
>From: Web Dude [mailto:webdude@;rsdigitalmedia.com]
>Sent: 05 November 2002 1:43
>To: Multiple recipients of list witango-talk
>Subject: Witango-Talk: String Length
>
>
>Is there a way to force spaces at the end of a <@COLUMN ""> returned
>from a search? And if the number of charaters exceeds 28, to trim the
>string? In other words, IF I wanted the length of the return to
>always be 28 characters...
>
>Example....
><@ROWS>
>(<@COLUMN "Products.Name">)<br>
></@ROWS>
>
>   (brackets are added to show the length of the string)
>would return the following...
>
>
>(Golf Clubs                  )
>(Golf Tees                   )
>(NEW Parker White Teeshirt fo)
>(Kensington White Shirt      )
>(Parker Pen                  )
>(NEW White Womens Fleece Hand)
>
>I know I can use <@substring> or the <@trim>s to truncate if the
>length is over 28 charaters, but how about if it is under 28
>characters?
>
>
>Thanks!
>--
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body


-- 
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to