isletter

Purpose

True for alphabetic character.

Synopsis

k = isletter('str')

Description

isletter('str') returns 1s where the elements of str are letters of the alphabet and 0s where they are not.

Examples

s = 'A1,B2,C3';
isletter(s)
           
ans =
    1    0    0    1    0    0    1    0

See Also

isstr

(c) Copyright 1994 by The MathWorks, Inc.