string

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Convert bytes to strings

Arguments and Return Values

Arguments: A byte number or array of bytes

Return Value: A string

Usage

Syntax: string(object = VAL)

'object' - a byte number

Examples

dv> string(byte(71))
"G"

dv> string(byte(72))
"H"

dv> string(byte(73))
"I"

dv> a
5x1x1 array of byte, bsq format [5 bytes]
104     101     108     108     111

dv> b=string(a)
"hello"

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools