Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - 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.

Scilab help >> Strings > 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

  • code2str — returns character string associated with Scilab integer codes.
  • ascii — string ascii conversions
<< sci2exp Strings 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 Oct 05 12:10:01 CEST 2011