Programming and Data Types    

Categorizing Characters Within a String

There are two functions for categorizing characters inside a string:

For example, create a string named mystring.

isletter examines each character in the string, producing an output vector of the same length as mystring.

The first four elements in A are 1 (true) because the first four characters of mystring are letters.


  Comparing for Equality Using Operators Searching and Replacing