Multiline String; Delete Footer Lines
Deletes the Footer lines of a multiline string, like legacy Banking Formats or legacy EDI Data. Note that blank characters at the end or beginning of string data are deleted in advance. If singleline text, an empty string will be returned.
Download
- Multiline-String-Delete-Footer-Lines-2021.xml
- Multiline-String-Delete-Footer-Lines-202107.xml (Deletes only newline characters at both ends of a string.)
- //const inputText = (engine.findDataByNumber( dataIdA ) + “”).trim();
- const inputText = (engine.findDataByNumber( dataIdA ) + “”).replace(/^[\n]*/, “”).replace(/[\n]*$/, “”);
2021-07-13 (C) Questetra, Inc. (MIT License)
https://support.questetra.com/addons/multiline-string-delete-footer-lines-2021/
The Add-on import feature is available with Professional edition.
Capture

