std-string->list


Synopsis

(std-string->list <str>)

Description

STD-STRING->LIST converts a string to a list of its ascii representation of the characters. Is is the exact complement to STD-LIST->STRING.

Low-level string functions dealing with integer characters are STD-STRING-ELT, STD-STRING-POSITION, STD-STRING->LIST and STD-LIST->STRING. The advantage using single integers instead of single character strings is less memory housekeeking, but the disadvantage is less readability. The often occur in library but not in user functions.

It is the same as the VLISP extension VL-STRING->LIST.

Example

(std-string->list "012") => (48 49 50)

Arguments

str: a string.

Return Value

A list of integer numbers.

Side Effects

None.

Module

(std-require 'STDSTR)

Defined in STDSTR