Er... it seems I found some time to work on this :)))
Added the last two missing FindLast() functions git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -693,6 +693,13 @@ BString::FindLast(const BString &string, int32 beforeOffset) const
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
BString::FindLast(const char *str, int32 beforeOffset) const
|
||||
{
|
||||
return _FindBefore(str, beforeoffset, -1);
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
BString::FindLast(char c) const
|
||||
{
|
||||
@@ -702,6 +709,15 @@ BString::FindLast(char c) const
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
BString::FindLast(char c, int32 beforeOffset) const
|
||||
{
|
||||
char tmp[2] = { c, '\0' };
|
||||
|
||||
return _FindBefore(tmp, beforeOffset, -1);
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
BString::IFindFirst(const BString &string) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user