isblank.m
by janez
08 Sep 2010
(Updated 09 Sep 2010)
Determines if the argument string consists only of blanks.
|
Watch this File
|
| File Information |
| Description |
Function determines whether the string str consists only of blank characters. For strings of blank characters function returns logical 1. For empty strings function returns logical 0. For non-character arguments function returns a type mismatch error.
Examples:
>> isblank(' ')
ans =
1
>> isblank(' foo ')
ans =
0 |
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 09 Sep 2010 |
added two examples of use. |
|
Contact us at files@mathworks.com