com.livecode.char

Typemodule
DictionaryLCB
LibraryLiveCode Builder
Associationscom.livecode.char
Summary

This library consists of the operations on chars included in the standard library of LiveCode Builder.

Description

This library consists of the operations on chars included in the standard library of LiveCode Builder.

TypeNameSummarySyntax
expressionNewLineCharacter

The new line character

newline

iteratorRepeatForEachChar

Repeat over the chars of a string

char <Iterand>

modulecom.livecode.char

This library consists of the operations on chars included in the standard library of LiveCode Builder.

char <Iterand>

operatorCharIsInString

Determines whether Needle is in Target. Target:An expression which evaluates to a string.

<Needle> is in <Source>

- - -CharOffset

Finds the first or last occurrence of Needle within Target

the ( first | last ) offset of <Needle> in <Target>

- - -CharOffsetAfter

Finds the first or last occurrence of Needle after a specified index in Target

the ( first | last ) offset of <Needle> after <After> in <Target>

- - -CharOffsetBefore

Finds the first or last occurrence of Needle before a specified index in Target.

the ( first | last ) offset of <Needle> before <Before> in <Target>

- - -CharWithCode

Create a 1-char string from a number

the char with code <Index>

- - -CodeOfChar

Get the numeric value of a single char

the code of <Target>

- - -ContainsChars

Determines whether Source contains Needle.

<Source> contains <Needle>

- - -CountCharsOf

Counts the number of chars in Target.

the number of chars in <Target>

- - -FirstCharOf

Designates the first char in Target.

the first char of <Target>

- - -LastCharOf

Designates the last char in Target.

the last char of <Target>

- - -RangeCharOf

Designates the chars between indices Start and Finish in Target.

char <Start> to <Finish> of <Target>

- - -SingletonCharOf

Designates the char at index Index in Target.

char <Index> of <Target>

- - -StringBeginsWithString

Determines whether Source begins with Prefix

<Source> begins with <Prefix>

- - -StringEndsWithString

Determines whether Source ends with Suffix

<Source> ends with <Suffix>

statementDeleteFirstCharOf

Deletes the first char in Target.

delete the first char of <Target>

- - -DeleteLastCharOf

Deletes the last char in Target.

delete the last char of <Target>

- - -DeleteRangeCharOf

Deletes the chars between indices Start and Finish in Target.

delete char <Start> to <Finish> of <Target>

- - -DeleteSingletonCharOf

Deletes the char at index Index in Target.

delete char <Index> of <Target>

- - -ReverseCharsOf

Reverse a string

reverse <Target>