String.length

文字列の長さを得る

構文

stringObject.length

例文

<html>
<head>
<title>String.length</title>
</head>

<body>

<!--文字列の長さを得るのサンプル-->
<script type="text/javascript">
var str="String";
document.write(str.length);
</script>

</body>
</html>

関連記事

スポンサーリンク

PHPで複数の画像をfacebookに投稿する方法

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る