Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Strings > ascii

ascii

文字列をアスキー変換する

呼び出し手順

a=ascii(txt)
txt=ascii(a)

パラメータ

txt

文字列または文字列の行列.

a

整数アスキーコードのベクトル

説明

この関数はScilab文字列をアスキーコード (最初の127個のコードはASCIIです)またはアスキーコードののベクトルに変換します. もしくは,アスキーコードのベクトルをScilab文字列に変換します.

txt が文字列の行列の場合, ascii(txt)ascii(strcat(txt))と等価です

ascii(["hello";"world"])
ascii("scilab")
ascii([115 99 105 108 97 98])
Report an issue
<< Strings Strings blanks >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:34 CEST 2013