DiGrande.it

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 of type- Cr

- Instruction: Cr%

- Parameter: % is the symbol of type

- Return: true if the next character belongs to the specified type.

- Description:

Returns true if the next character belongs to the specified type. The symbols identifying the character type are similar to the wildcards used in find and replace. The types that can be used are:

Cr* - Any character except space

Crw - Any letter or number

Cr? - Any letter

Cr# - Any number

Cr% - Any consonant

Cr& - Any vowel

Cr@ - Any accented vowel

Cr< - Any lowercase letter

Cr> - Any capital letter

Cr_ - Any punctuation

Cr' - Any apostrophe

Cr- - Any hyphen

Cr! - Any character other than letters, numbers and punctuation

Crs - Any space

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

In case more than one "Cr" instruction is used within the same condition, it is advisable to use only one "Cg" instruction.

- Examples:

Text string: a

Braille string: 456

Condition: Cr%

Description: The letter "a" is transcribed with the cell "456" if it is followed by a consonant.

String: biblos

Braille string: 12 234

Condition: Cr_|Crs

Description: The word "biblos" is transcribed with cell "12 234" if it is followed by a punctuation mark or a space. The condition can be replaced by the statement: Cg"\_\s" only