Hello
I am trying to find away to trim white space from the inside of a string.
I am using the following derive_fields (with many thanks to Russell) to trim off white space in front and after the fieldnameX values and any leading zeros.
Code:
<input type="hidden" name="derive_fields" value="
fieldname1=%rtrim(fieldname1)%,fieldname1=%ltrim0(fieldname1)%,
fieldname2=%rtrim(fieldname2)%,fieldname2=%ltrim0(fieldname2)%,
fieldname3=%rtrim(fieldname3)%,fieldname3=%ltrim0(fieldname3)%,
" />
If someone was to enter 8 8, I need to be able to trim the inside white space to result in 88.
Ideas?
Thank you
Nelson
Bookmarks