I tried that, but unfortunately the value may have varying amount of
spaces at the end. It's padded to 15 characters. So for example a
value of 12345 would have 10 spaces but 1234567890 would have 5
spaces. I just want to trim all ending spaces.
Is there a way to loop through the characters starting at the end and
stop when it encounters a valid value?
Dawn
--- In pendragon-forms@yahoogroups.com, Dave Hockman-Wert
<dhwert@...> wrote:
>
> You should be able to use the "Left" or "Right" functions to
extract the leftmost "x" characters or the rightmost "x" characters
from any particular value. Or the "Mid" function to extract a
section in the middle. Check the Scripting Reference for more
details as needed.
>
> Dave
>
>
>
>
>
> ----- Original Message ----
> From: Dawn Anastasi <danastasi@...>
> To: pendragon-forms@yahoogroups.com
> Sent: Wednesday, October 1, 2008 2:54:31 PM
> Subject: [pendragon-forms] Trim function
>
>
> Is there a "trim" function for stripping out leading and/or
trailing
> spaces from a field in a calculate event?
>
> Dawn
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>