Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

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.

The character specified as a parameter can be absolute or of type. To specify the type character the activator "\" is put before the character type. The types that can be used are:

Ce\* - Any character, except space

Ce\w - Any letter or number

Ce\? - Any letter

Ce\# - Any number

Ce\% - Any consonant

Ce\& - Any vowel

Ce\@ - Any accented vowel

Ce\< - Any lowercase letter

Ce\> - Any capital letter

Ce\_ - Any punctuation

Ce\' - Any apostrophe

Ce\- - Any hyphen

Ce\! - Any character other than letters, numbers and punctuation

Ce\s - Any space

Ce\n - Any null character (for example at the end or beginning of a line)

Ce\\ - The inverted slash "\".

- 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".