isSpace()
空白文字(スペース、タブ)、制御文字('\n'、'\v'、'\f'、'\r')をチェックします。
書式
boolean isSpace(int c)
引数
c :チェック対象の文字
戻り値
空白文字(スペース、タブ)、制御文字('\n'、'\v'、'\f'、'\r')の場合 true
空白文字(スペース、タブ)、制御文字('\n'、'\v'、'\f'、'\r')でない場合 false
解説
cが0x09~0x0D、0x20の場合はtrue、そうでない場合は、falseを返します。
本関数は、C標準ライブラリisspace()を呼び出して判定しています。
License and Attribution: Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.
このドキュメントはleafLabs, LLC.が執筆し、たま吉が翻訳・一部加筆修正したものです。
Arduino STM32 リファレンス 日本語版 に戻る