Next character to the characters of a family- Ce
- Instruction: Ce%
- Parameter: % a character
- Return: true if the character after the sequence of characters of the same family is %
- Description:
Returns true if the next character in the character family where the index is located is the one specified. Character family means characters belonging to the family of letters, numbers, punctuation, spaces, or other characters. The character family specified as an instruction parameter must be different from the character family specified in the code text string, otherwise the instruction always returns false. If the code text string contains multiple characters, the character family is determined using the last character in the string.
- Examples
Text string: a
Braille string: 456
Condition: Ce1
Description: Returns true if after the letter "a" and all the other letters that follow it, the character "1" is present. For example in the word "abacus1" the two "a" is transcribed with the cell "456".
Text string: 5
Braille string: 26
Condition: Ce°
Description: Returns true if after the number "5" and all the other numbers that follow it there is the symbol "°". For example, if the text "1256732°" is present, the number "5" is transcribed with cell "26".
Text string: 12A
Braille string: 123456
Condition: CeZ
Description: this condition will always return false, because the letter family with which the text string "12A" ends belongs to the same letter family as the character "Z" used in the instruction. So, even if the sequence of letters ended with the letter "Z", it would be skipped because it belongs to the same letter family as "A".