String.fromCharCode

文字コードの配列から文字列を得る

構文

String.fromCharCode(num1,num2,...,numN)

引数

num1=文字コードリスト

例文

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

<body>

<!--文字コードの配列から文字列を得るのサンプル-->
<script type="text/javascript">
document.write('65,66,67を渡すと'+String.fromCharCode(65,66,67)+'になります');
</script>

</body>
</html>

関連記事

スポンサーリンク

CELL関数 最も小さい整数値を返す

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

上に戻る