result Tizen::Base::String::IndexOf ( const String & str, int startIndex, int & indexOf ) const
By Nick Hathaway
10 Jan 2014 12:57
English
2 Replies
Can't seem to get String.IndexOf() to work. Compiler keeps saying "no matching member function for call to 'IndexOf'"
Here's the definition from the documentation:
result Tizen::Base::String::IndexOf ( const String & str, int startIndex, int & indexOf ) const
here's the code i'm trying:
int i;
const String string1 = "abcdefg";
const String string2 = "bcd";
string1.IndexOf(&string2, 0, &i);
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.