Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.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
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:54:44 CEST 2014