Home  Contents

ctype.ispunct

Ctype Core4 Lua Commands

SYNOPSIS

result = ctype.ispunct(code)

DESCRIPTION

The ctype.ispunct function tests for any printing character except space (‘ ’) or a character for which ctype.isalnum is true.

RETURN VALUE

The function returns a boolean indicating if the character test succeeded.

SEE ALSO