FindLast
int32 FindLast(const BString& string) const;
int32 FindLast(const char* string) const;
int32 FindLast(const BString& string,
int32 FindLast(const char* string,
int32 FindLast(char c) const;
int32 FindLast(char c, int32 beforeOffset) const;
int32 slash = string.FindLast("/");
int32 previousSlash = string.FindLast("/", slash);
int32 slash = string.FindLast("/");
int32 previousSlash = string.FindLast("/", slash);
int32 slash = string.FindLast("/");
int32 previousSlash = string.FindLast("/", slash);
Value* FindLast(const PrimaryKey& key,
Value *FindLast(const PrimaryKey &key, Iterator *iterator = NULL);
int32 index = result.FindLast(" ");
int32 index = address.FindLast(':');
int32 licensePart3 = haikuLicense.FindLast("<");
int32 licensePart4 = haikuLicense.FindLast(">");
int32 urlEnd = namedURL.FindLast('>');
int32 index = sourcePath.FindLast('/');
nodeACPIHid.Remove(0, nodeACPIHid.FindLast("_") + 1);
nodeACPIPath.Remove(0, nodeACPIPath.FindLast(".") + 1);
int32 extensionPosition = fileName.FindLast(rule->FilenameExtension());
int32 lastSlash = fLink.FindLast('/');
int32 lastPathSeparator = target.FindLast('/');
int32 lastDot = result.FindLast(".");
int leafPos = itemPath.FindLast('/');
int pos = line.FindLast(" -> ");
pos = itemPath.FindLast('/');
int32 extIndex = name.FindLast('.');
int32 extension = nameWithoutExtension.FindLast('.');
int32 pos = nameString.FindLast('.');
int32 periodPos = path.FindLast('.');
if (periodPos <= path.FindLast('/'))
if (path.FindLast(".m3u") == path.CountChars() - 4
|| path.FindLast(".m3u8") == path.CountChars() - 5)
else if (path.FindLast(".pls") == path.CountChars() - 4)
ret = itemPath.FindLast('/');
start = viewText.FindLast(string, textStart);
start = viewText.FindLast(string, viewText.Length());
int32 slash = string.FindLast("/");
int32 colonIndex = path.FindLast(':');
index = directory.FindLast('/', index - 1);
int32 leafPos = url.FindLast('/');
int32 leafPos = fileName.FindLast('/');
int currentSizeUnitPos = currentSize.FindLast(' ');
int expectedSizeUnitPos = expectedSize.FindLast(' ');
int32 leafPos = fileName.FindLast('/');
if (leaf.FindLast('/') > -1)
leaf.Remove(0, leaf.FindLast('/') + 1);
int32 index = name.FindLast('/');
index = name.FindLast('.');
int32 dot = outputFile.FindLast('.');
i = arg.FindLast(':');
i = arg.FindLast(':');
prettyPath.Remove(0, prettyPath.FindLast("/") + 1);
extension.Remove(0, extension.FindLast('.') + 1);
name.Remove(0, name.FindLast('/') + 1);
+ imageName.FindLast('/') + 1;
int32 lastSlash = path.FindLast('/');
int32 lastSlash = fPath.FindLast('/');
int32 last = signature.FindLast(':');
while ((pos = langName.FindLast('_')) >= 0) {
while ((pos = langName.FindLast('_')) >= 0) {
int32 greaterIndex = name.FindLast('>');
splitIndex = string.FindLast (", ", tempIndex);
splitIndex = string.FindLast (" ", tempIndex);
splitIndex = string.FindLast ("\t", tempIndex);
int32 separator = host.FindLast(':');
if (user.FindLast('/') > -1) {
user.Remove(0, user.FindLast('/'));
if (user.FindLast('/') > -1) {
user.Remove(0, user.FindLast('/'));
if (user.FindLast('/') > -1) {
user.Remove(0, user.FindLast('/'));
if (newDomain.FindLast('.') <= 0)
int slashPos = normalizedPath.FindLast('/');
int slashPos = normalizedPath.FindLast('/');
int32 index = path.FindLast('/');
domain.Truncate(domain.FindLast('/'));
int32 dashPos = word.text.FindLast('-');
int32 tildePos = word.text.FindLast('~');
int32 newlinePos = packageInfoString.FindLast('\n', offset - 1);
newlinePos = packageInfoString.FindLast('\n',
return FindLast(string, UTF8CountBytes(fPrivateData, beforeCharOffset));
return FindLast(string, UTF8CountBytes(fPrivateData, beforeCharOffset));
int32 pos = FindLast(replaceThis);
int32 lastSlashIndex = fPath.FindLast("/");
int32 outputLastSlashIdx = path.FindLast('/');
return FindLast(string) == position;
int offset = fName.FindLast('.');
temp = temp.Remove(0, temp.FindLast('/') + 1) ;
int32 at = emailS.FindLast("@");
if (provider.FindLast(".") < 0)
int32 closeParenthesisPos = timeZoneName.FindLast(')');
int32 index = fPath.FindLast('/');
int32 index = fPath.FindLast('/');
CHK(parseError.FindLast(testCase.error) >= 0);
CHK(parseError.FindLast(testCase.error) >= 0);
CPPUNIT_ASSERT_EQUAL(16, string1.FindLast(string2));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast(string2));
CPPUNIT_ASSERT_EQUAL(16, string1.FindLast("st"));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("some text"));
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindLast((char*)NULL));
CPPUNIT_ASSERT_EQUAL(3, string1.FindLast(string2, 7));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast(string2, -10));
CPPUNIT_ASSERT_EQUAL(4, string1.FindLast("abc", 9));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("abc", -10));
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindLast((char*)NULL, 3));
CPPUNIT_ASSERT_EQUAL(7, string1.FindLast('c'));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast('e'));
CPPUNIT_ASSERT_EQUAL(1, string1.FindLast("b", 5));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast('e', 3));
CPPUNIT_ASSERT_EQUAL(6, string1.FindLast('b', 6));
CPPUNIT_ASSERT_EQUAL(1, string1.FindLast('b', 5));
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("a", 0));
int32 dot = outputFile.FindLast('.');