A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/HyperSpec/Body/f_mk_stg.htm below:

CLHS: Function MAKE-STRING

CLHS: Function MAKE-STRING Function MAKE-STRING

Syntax:

make-string size &key initial-element element-type => string

Arguments and Values:

size---a valid array dimension.

initial-element---a character. The default is implementation-dependent.

element-type---a type specifier. The default is character.

string---a simple string.

Description:

make-string returns a simple string of length size whose elements have been initialized to initial-element.

The element-type names the type of the elements of the string; a string is constructed of the most specialized type that can accommodate elements of the given type.

Examples:

 (make-string 10 :initial-element #\5) =>  "5555555555"
 (length (make-string 10)) =>  10

Affected By:

The implementation.

Exceptional Situations: None.

See Also: None.

Notes: None.

The following X3J13 cleanup issues, not part of the specification, apply to this section:
Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4