FN_E$CDS - Condense Text
Inclusion in RPG source
- C /COPY E$LIB/SRC(ILE),FN_E$CDS
Invocation
- EXSR E$CDS
Input Parameters
- @CDS (a65)
- Field in which a alphanumeric value must be stored prior to the call to E$CDS.
Output Parameters
- @CDS (a65)
- Field in which the condensed text is stored after processing by E$CDS.
What it does
- Removes all characters but 0-9 and A-Z from a string and concatenates all remaining characters into a new string.
Examples
-
* C MOVEL'A B C D' @CDS C EXSR E$CDS C MOVEL@CDS #FIELD 'ABCD ' *
Go to download page