Corrected some inaccuracies imported from the BeOS headers:
CapitalizeEachWord() DOESN'T capitalize words separated by spaces, it capitalizes words separated by non alphabethical characters. FindLast(char, int32) prototype was misleading. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2008 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -172,7 +172,7 @@ public:
|
||||
int32 FindLast(const BString &, int32 beforeOffset) const;
|
||||
int32 FindLast(const char *, int32 beforeOffset) const;
|
||||
int32 FindLast(char) const;
|
||||
int32 FindLast(char, int32 fromOffset) const;
|
||||
int32 FindLast(char, int32 beforeOffset) const;
|
||||
|
||||
int32 IFindFirst(const BString &) const;
|
||||
int32 IFindFirst(const char *) const;
|
||||
@@ -252,7 +252,8 @@ public:
|
||||
*/
|
||||
|
||||
BString &CapitalizeEachWord();
|
||||
/* Converts first character in each white-space-separated
|
||||
/* Converts first character in each
|
||||
* non-alphabethycal-character-separated
|
||||
* word to upper-case, rest to lower-case
|
||||
*/
|
||||
/*----- Escaping and Deescaping --------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user