API reference
Preparing search index…

Unicode

Functions

isGraphemeBoundary

Test for a grapheme boundary before UTF-16 index position using SFML's Unicode rules. The start and end are boundaries; the middle of a surrogate pair is not. Isolated surrogate code units are treated as U+FFFD.

isSentenceBoundary

Test for a sentence boundary before UTF-16 index position using SFML's Unicode rules. The start and end are boundaries; the middle of a surrogate pair is not. Isolated surrogate code units are treated as U+FFFD.

isWordBoundary

Test for a word boundary before UTF-16 index position using SFML's Unicode rules. The start and end are boundaries; the middle of a surrogate pair is not. Isolated surrogate code units are treated as U+FFFD.

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0