text:string
List of: Scheme Extensions
Subjects: Text
Contents: Kernel

Action: Gets a text entity's string.

Filename: kern/kern_scm/text_scm.cxx

Syntax: (text:string text-entity)

Arg Types: text-entity text

Returns: string

Description: This extension returns the text string in a text-entity, which is enclosed in quotes.

Example: ; text:string

; Create a text entity.

(define words (text (position 0 0 0) "Hello World."


"times-medium-r-normal" 30))

;; words

; Get the text entity string.

(text:string words)

;; "Hello World."
PDF/KERN/15SCR.PDF
HTM/DATA/KERN/KERN/15SCR/0031.HTM