StringTools[HasSpace] - determine if a string has any space characters
|
Calling Sequence
|
|
HasSpace(s)
|
|
Parameters
|
|
s
|
-
|
string; string to test
|
|
|
|
|
Description
|
|
•
|
The HasSpace(s) command determines whether s has any space characters.
|
|
A space character is any one of the following:
|
Space Character
|
Meaning
|
ASCII Code
|
|
|
|
`` ''
|
space
|
32
|
``\t''
|
horizontal tab
|
9
|
``\n''
|
new line
|
10
|
``\r''
|
carriage return
|
13
|
``\f''
|
form feed
|
12
|
``\v''
|
vertical tab
|
11
|
|
|
|
If s is a space character, HasSpace returns true. Otherwise, false is returned.
|
|
|
Thread Safety
|
|
•
|
The StringTools[HasSpace] command is thread-safe as of Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?