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

Text following the characters of a family- Te

- Instruction: Te"%"

- Parameter: "%" a text

- Return: true if the text following the sequence of characters of the same family is "%".

- Description:

Returns true if the text following 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. If the code text string contains multiple characters, the character family is established using the last character in the string.

Group characters can be absolute, type, or family characters. An absolute character is the one that is immediately comparable, for example "abc123", i.e. all characters in the unicode set. Type characters are those belonging to a character type, such as letters, consonants, vowels, numbers, etc.. A family character identifies a sequence of characters of the same type, such as letters, numbers, punctuation, or spaces. A type or family character is specified using the "\" activator followed by the type or family of the character. The list of type and family characters is as follows:

\* - Any character except space

\w - Any letter and number

\? - Any letter

\# - Any number

\% - Any consonant

\& - Any vowel

\@ - Any accented vowel

\< - Any lowercase letter

\> - Any capital letter

\_ - Any punctuation

\' - Any apostrophe

\- - Any hyphen

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

\s - Any space

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

\\ - The inverted slash

\L - A sequence of letters

\N - A sequence of numbers

\W - A sequence of letters or numbers

\P - A sequence of punctuation

\S - A sequence of spaces

\x - Includes the analysis of the spaces (default)

\X - Excludes the analysis of the spaces

It is necessary to respect upper and lower case letters. Character analysis is performed from left to right.

- Examples

Text string: a

Braille string: 456

Condition: Te "12"

Description: Returns true if after the letter "a" and all other letters following it there is the text "12". For example in the word "abacus12" the initial "a" is transcribed with the cell "456".

Text string: 5

Braille string: 26

Condition: Te"°c"

Description: Returns true if the text "°c" is present after the number "5" and all other numbers that follow it. For example, if the text "50°c" is present, the number "5" is transcribed with cell "26".