String.length()

名称

String.length()

説明

Stringオブジェクト内の文字列の長さを返す。最後のナル文字は含まない。

書式

unsigned int String::length(void) const;

引数

なし。

戻り値

Stringオブジェクト内の文字列の長さ。

参照

利用例 String Tutorials

オリジナルのページ

https://www.arduino.cc/reference/en/language/variables/data-types/string/functions/length/

Last Revision: 2021/12/20

最終更新日

January 4, 2024

inserted by FC2 system