CHARREM()
Removes characters from a string
Syntax
CHARREM( <cDeleteThisCharacters>, <cString> ) -> cReducedString
Arguments
<cDeleteThisCharacters> specifies the characters that should be deleted in <cString>
<cString>) is the string that should be processed
Returns
<cReducedString> is a string where the characters specified in <cDeleteThisCharacters> are deleted
Description
The CHARREM() function deletes the characters specified in <cDeleteThisCharacters> from <cString>.
Examples
? CHARREM( " ", " 1 2 " ) // "12" ? CHARREM( "3y", "xyz123" ) // "xz12"
Tests
CHARREM( " ", " 1 2 " ) == "12" CHARREM( "3y", "xyz123" ) == "xz12"
Compliance
CHARREM() is compatible with CT3’s CHARREM().
Platforms
All
Files
Source is charonly.c, library is ct3.
Seealso
CHARONLY(), WORDONLY(), WORDREM()
Pingback: Harbour String Functions | Viva Clipper !
Pingback: Harbour All Functions – C | Viva Clipper !