Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - 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 >> Advanced functions > str2code

str2code

returns Scilab integer codes associated with a character string. This function is obsolete.

Calling Sequence

c = str2code(str)

Arguments

str

a character string.

c

a column vector of character integer codes.

Description

c = str2code(str) returns a column vector 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. This function is obsolete.
  • ascii — string ASCII conversions
  • part — Extraction of characters from strings

History

VersionDescription
5.4.0 This function will be removed in Scilab 6.0.0
Report an issue
<< sciargs Advanced functions tree2code >>

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:
Thu Oct 02 13:47:02 CEST 2014