text

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
text
Summary

Used with the sort and sort container commands to sort normally, character by character.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
sort cards descending text by field "State"
sort lines of the target text by word 2 of each
RelatedCommand: sort, sort container
Glossary: keyword, handler, command, sort
Keyword: dateTime, character, numeric
Description

Use the text keyword to improve the clarity of your code. For example, if a handler contains several sort commands and some are numeric, you can use the text keyword explicitly to point up the fact that there are both alphabetic and numeric sorts.

Since text is the default sort order, you never actually need to use the text keyword; if you leave it out, the sort is performed alphabetically anyway.

Tagsdatabase