lang • ispunct

IsPunct

Result = IsPunct ( Expr AS String ) AS Boolean

Returns TRUE if the String Expr contains only punctuation characters.

A punctuation character is one of the following characters: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~

Examples

Print IsPunct(":-)")
True
Print IsPunct(":-p")
False

See also