Skip to main content

characters

Type

keyword

Summary

Used with the sort command, number function, and is among and is not among operators to designate each character as a separate portion of a string. Also used with the find command to search for a string of characters.

Syntax

characters

Description

Use the characters keyword to sort or select individual characters.

A character is a single letter, digit, punctuation mark, or control character. Spaces, tabs, and returns are all characters.

When used with the find command, the characters keyword finds cards that contain the specified string of characters, wherever that string appears in a word.

Examples

get the number of chars of field "Entry"
if "A" is among the characters of the bloodTypes of me then beep
find characters "run" -- finds "run", "grunt", or "running"

object: card

operator: is among, is not among

command: find, sort, select

control structure: function

function: number

glossary: command, operator, keyword

keyword: whole, characters, string, character, lines, word, items

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?