str-var = SPF_InvChar$(data-str)


Operands:

data-str

a string value to be 'cleaned-up' of unprintable characters.


Returns:


data-str with all invalid characters replaced with the default invalid character specified in Options => General


RC will be 0 and Msg$ will be "" (Null).


Special Notes:


This function performs the same substitution that is done in normal Edit to prevent invalid characters from corrupting the screen display.


Because of this the result string should NOT be used as if it were the real data, it should only be used for display purposes where the character substitution will not cause confusion.


Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer