Skip to main content
Converts a string into a BITMAP. The string is composed of a set of UINT64 numbers separated by commas. For example, the “0, 1, 2” string will be converted into a Bitmap, in which bits 0, 1 and 2 are set. If the input field is invalid, NULL will be returned. This function deduplicates the input string during the conversion. It must be used with other functions, such as bitmap_to_string to return results on terminals.

Syntax

Return value

Returns a BITMAP value. If the input string is invalid, NULL is returned. If the input string is empty, an empty value is returned.

Examples

Text

keywords

BITMAP_FROM_STRING,BITMAP