Q2 Why does the text of an empty Masked Entry Field appear to contain some characters? |
Scroll Prev Top Next More |
If you copy the text of a masked entry field to a variable, it will contain all the masked characters including trailing blanks. This will also happen when the user deletes characters and does not replace them. A seemingly empty field will contain blanks in place of the masked or entered characters.
You can eliminate trailing blanks by using the ESLSTR functions of TrimEndsFunction() or TrimEnds() subroutine. You can also use the take by word functionality of the extract ESL statement.