Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE int32_t U_EXPORT2 ubrk_preceding ( UBreakIterator bi,
int32_t  offset 
)

Determine the text boundary preceding the specified offset. The value returned is always smaller than offset, or UBRK_DONE.

Parameters:
bi The break iterator to use.
offset The offset to begin scanning.
Returns:
The text boundary preceding offset, or UBRK_DONE.
See also:
ubrk_following ICU 2.0

Definition at line 228 of file ubrk.cpp.

{

  return ((RuleBasedBreakIterator*)bi)->RuleBasedBreakIterator::preceding(offset);
}


Generated by  Doxygen 1.6.0   Back to index