eric.dizon
25th June 2014, 22:20
I am trying to create a function that strips a MB string of the Chinese characters or any non-alphanumeric characters in a string. How can I best achieved this? I am trying to use the following function str.containsMBchar but it doesn't seem to work? Any work around with what I need to achieve?
Syntax:
function boolean str.containsMBchar (const string string$)
Description
Tests whether the specified string contains at least one multi byte character. It does not matter if the string to search in is declared as a single byte or a multi byte string.
Arguments
const string string$ a string
Return values
true string$ contains at least one multi byte character
false in any other case
Context
This function is implemented in the 4GL Tools and can be used in all script types. This function is available from TIV level 1700.
Syntax:
function boolean str.containsMBchar (const string string$)
Description
Tests whether the specified string contains at least one multi byte character. It does not matter if the string to search in is declared as a single byte or a multi byte string.
Arguments
const string string$ a string
Return values
true string$ contains at least one multi byte character
false in any other case
Context
This function is implemented in the 4GL Tools and can be used in all script types. This function is available from TIV level 1700.