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

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Fonctions avancées > 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
<< recompilefunction Fonctions avancées 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:
Wed Apr 01 10:21:53 CEST 2015