#ispunct()

DESCRIPTION
    returns TRUE if a character, or first character in a string,
    is any printing character but neither a space nor alphanumeric
SYNOPSIS
    #ispunct(s)
ARGUMENTS
    s - a quoted string, or string expression
EXAMPLES
# pikt +C 'output $text(#ispunct("a"))'
0

# pikt +C 'output $text(#ispunct("A"))'
0

# pikt +C 'output $text(#ispunct("9"))'
0

# pikt +C 'output $text(#ispunct("!"))'
1

# pikt +C 'output $text(#ispunct("0"))'
0

# pikt +C 'output $text(#ispunct($char(3)))'
0

# pikt +C 'output $text(#ispunct("is this a printing character, but neither space nor alphanumeric?"))'
0
SEE ALSO
    #isalnum()
    #isalpha()
    #iscntrl()
    #isdigit()
    #isgraph()
    #islower()
    #isprint()
    #isspace()
    #isupper()

    Numerical Functions
    String Functions
 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View the list of
Related Projects
and Products