characters

Prev Next

Function Names

characters

Description

This function converts a string into a set containing the individual characters.

Call as: function

Restrictions

Indirect parameter passing is disabled

Parameter count

1

Parameters

No.TypeDescription
1
input
string string to convert

This striong will be broken down into characters

Return value

TypeDescription
set Set of characters

Examples

       echo( characters( "Hello World") );

Output

{'H','e','l','l','o',' ','W','o','r','l','d'}
Try it yourself: Open LIB_Function_characters.b4p in B4P_Examples.zip. Decompress before use.

See also

for all characters