Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Manuel Scilab >> Chaînes de caractères > str2code

str2code

return scilab integer codes associated with a character string

Calling Sequence

c=str2code(str)

Arguments

str

A character string.

c

A vector of character integer codes

Description

Return c such that c(i) is the scilab integer code of part(str,i))

Examples

str2code('Scilab')'
code2str([-28 12 18 21 10 11])

See Also

<< sci2exp Chaînes de caractères strcat >>

Copyright (c) 2022-2024 (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:
Wed Jan 26 16:24:16 CET 2011