Documentation Center

  • Trial Software
  • Product Updates

numlib::toAscii

ASCII encoding of a string

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

numlib::toAscii(s)

Description

numlib::toAscii(s) returns the list of ASCII codes of the characters in the string s.

numlib::toAscii returns an error if its argument is not a string.

Examples

Example 1

The ASCII coding of a well-known name:

numlib::toAscii("MuPAD - Multi Processing Algebra Data Tool")

and the ASCII coding of an empty string:

numlib::toAscii("")

Parameters

s

A string

Return Values

numlib::toAscii(s) returns a list of nonnegative integers.

See Also

MuPAD Functions

Was this topic helpful?