CharNoList()

CHARNOLIST()

Generates a list of all characters not contained in a string

Syntax

      CHARNOLIST( [<cString>] ) -> cCharacterList

Arguments

[<cString>] is the string for whom the function generates a list of all characters not contained in that string Default: “” (empty string)

Returns

<cCharacterList> a list of the characters that are not contained in <cString>

Description

The CHARNOLIST() function generates a list of those characters that are not contained in <cString>. This list can contain each character only once, so that its maximum length is 256. The list is alphabetically sorted.

Examples

      ? charnolist( charnolist( "Hello World !" ) ) // --> " !HWdelor"

Tests

      charnolist( charnolist( "Hello World !" ) ) == charslist( "Hello World !" )
      charnolist( charnolist( NIL ) ) == ""

Compliance

CHARNOLIST() is compatible with CT3’s CHARNOLIST().

Platforms

All

Files

Source is charlist.c, library is libct.

Seealso

CHARLIST(), CHARSLIST(), CHARHIST()

Advertisements

2 responses to “CharNoList()

  1. Pingback: Harbour String Functions | Viva Clipper !

  2. Pingback: Harbour All Functions – C | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s