<< setbpt functions graphics >>

removed >> removed > 5-5-2 > functions > str2code

str2code

returns Scilab integer codes associated with a character string

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

History

VersionDescription
5.4.0 This function will be removed in Scilab 6.0.0
5.5.2 str2code was removed after Scilab 5.5.2. ascii replaces it.

Report an issue
<< setbpt functions graphics >>