KeepChar - script and chart function

KeepChar() returns a string consisting of the first string, 'text', less any of the characters NOT contained in the second string, "keep_chars".

Syntax:  

KeepChar(text, keep_chars)

Return data type: string

Arguments:  

Argument Description
text The original string.
keep_chars A string containing the characters in text to be kept.