Character preceding characters of a family- Cb
- Instruction: Cb%
- Parameter: % a character
- Return: true if the character before the sequence of characters of the same family is %
Returns true if the character before 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. The character family is established using the first character of the code text string.
Text string: a
Braille string: 456
Description: Returns true if before the letter "a" - and all other letters preceding it - there is the character "1". For example, in the word "1boat" the "a" are transcribed with the cell "456".
Text string: 5
Braille string: 26
Description: Returns true if before the number "5" - and all other numbers preceding it - there is the symbol "°". For example, if the text "°13531" is present, the number "5" is transcribed with cell "26".
Text string: B12
Braille string: 123456
Description: this condition will always return false, because the letter family with which the text string "B12" begins belongs to the same letter family as the character "Z" used in the instruction. So even if the text encountered started with the letter "Z", it would be skipped because it belongs to the same letter family as "B".