Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_alpha

API Function: is_alpha

Summary:
return whether a string is entirely alphabetical

Defined In LPC Object:
/usr/common/sys/stringd.c

Prototype:
int is_alpha(string str)

Can Be Called By:
Anybody

Description:

Returns true if the string consists only of uppercase or lowercase alphabetic characters. That means no numbers, no whitespace, no punctuation, no newlines and so on.

Return Value:

1 for true, 0 for false.

Errors:
Normally none.

See Also:
is_whitespace , is_alphanum , is_ident