TinyMUX

Strinter()

Functions

Description

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

Returns the set intersection of grapheme clusters from two strings. The result contains only grapheme clusters that appear in both strings.

Examples

> say strinter(abcd, bce)

You say, “bc”

> say strinter(hello, world)

You say, “lo”

setinter(), strunion(), strdiff()