The manual - in the Configuiration Variables section - says:
 
stripCHARs

Valid in all scopes This configuration variable sets whether CHAR (fixed-length text field) data from data sources is automatically stripped of trailing spaces. Possible values are true and false.

The default value is true.

I hope that helps.
 
A.

-----Original Message-----
From: Atrix Wolfe [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 3:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: appending text

hmm actualy that was only part of the fix, does anyone know anything about this setting to preserve trailing spaces?
----- Original Message -----
Sent: Monday, February 17, 2003 11:37 AM
Subject: RE: Witango-Talk: appending text

I recall a setting in the config file for preserving the trailing spaces, but I am not sure whether that is applicable only in the context of retrieving data from a database, or whether it applies to the array manipulation as well. You might want to check that.
-----Original Message-----
From: Atrix Wolfe [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: appending text

Unfortunately there isnt always a space at the end of the columns im trying to put together. Also sometimes there are many spaces ( i could have a whole column of nothing but spaces).
----- Original Message -----
Sent: Monday, February 17, 2003 11:29 AM
Subject: RE: Witango-Talk: appending text

Put the space into RSuffix attribute, instead of the array.
 
 
-----Original Message-----
From: Atrix Wolfe [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: appending text

hello, im havin a problem.
 
lets say i have an array that looks like this:
'Apples '
'are good to'
' eat.   '
 
what i want to do is put this text all together to:
'Apples are good to eat.  '
 
im using this method currently (assuming the text array is called local$MyString
 

<@assign local$FullString value="<@VAR local$MyString type=text APrefix='' ASuffix='' RPrefix='' RSuffix='' CPrefix='' CSuffix='' encoding=none>">

 

unfortunately what happens is it drops the spaces at the end of each column, but not space at the begining.  So it makes the example string into:

 

'Applesare good to eat.'

instead of

'Apples are good to eat.  '

anyone know how i can resolve this?  Thanks!

-Atrix

________________________________________________________________________
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
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to