U_CAPI UBreakIterator* ubrk_open (UBreakIteratorType type, const char *locale, const UChar *text, int32_t textLength, UErrorCode *status)
Open a new UBreakIterator for locating text boundaries for a specified locale
Documentation
Open a new UBreakIterator for locating text boundaries for a specified locale.
A UBreakIterator may be used for detecting character, line, word,
and sentence breaks in text.
- Returns:
- A UBreakIterator for the specified locale.
- Parameters:
- type - The type of UBreakIterator to open: one of UBRK_CHARACTER, UBRK_WORD,
UBRK_LINE, UBRK_SENTENCE
locale - The locale specifying the text-breaking conventions.
text - The text to be iterated over.
textLength - The number of characters in text, or -1 if null-terminated.
status - A UErrorCode to receive any errors.
- See Also:
- ubrk_openRules
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de