For use with MS Access databases mostly. - this function allows you to with strip characters from a string, replace characters in a string with other characters or strip/replace all non-alpha characters (not printable) from the string.
Inputs
strIN is the string you wish to modify
'StripChar is the character you wish to remove/replace
'ReplaceChar is the character to use in "Stripchar"s place.
'Only strIN is required.
Returns
Returns the submitted string with the modifications made as a string:
'ckReplace("This is a test"," ","") returns "Thisisatest"
'ckReplace("This is a test","i","x") returns "Thxs xs a test"
'ckReplace("Sometext%MoreText") where the % represents some non printing character (like a line feed or someting - would return "SometextMoreText"
'ckReplace("Sometext%MoreText",""," ") where the % represents some non printing character (like a line feed or someting - would return "Sometext MoreText"