TinyMUX

Strunion()

Functions

Description

FUNCTION: strunion(<string1>, <string2>)

Returns the set union of grapheme clusters from two strings. Each unique grapheme cluster that appears in either string is included in the result.

Examples

> say strunion(abc, bcd)

You say, “abcd”

> say strunion(hello, world)

You say, “helowrd”

setunion(), strdiff(), strinter()