Owning Class: membership
Requires: MathScript RT Module
c = is_letter(a)
Legacy Name: isletter
Determines whether characters in a string are letters of the alphabet.
| Name | Description |
|---|---|
| a | Specifies a string. |
| Name | Description |
|---|---|
| c | Returns a matrix of Boolean values. An element in c is 1 if and only if the corresponding character of a is a lowercase or uppercase letter of the alphabet. Otherwise, the element is 0. c is a matrix of the same size as the number of characters in a. |
C = is_letter('abd?PW5^&888')
C = is_letter('TEST')