strIsAlpha

Tests if all characters in a string are alphabetic. Takes str (string to test). Returns 1 if every character in the string is alphabetic (A-Z, a-z), otherwise returns 0.

String

Parameters & Returns

Parameters

str String

Returns

Int

Quick Summary

Tests if all characters in a string are alphabetic. Takes str (string to test). Returns 1 if every character in the string is alphabetic (A-Z, a-z), otherwise returns 0.

Technical Exegesis...

Returns 1 if every character in the string is alphabetic (A-Z, a-z), otherwise returns 0. Returns 0 if the string is empty or null.

All characters must be letters for this to return 1. Digits, spaces, and punctuation will cause it to return 0. Useful for validating text-only input.

Example

Example.bam
; No example implemented yet