mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-10-30 09:08:28 +00:00
Add comment to Utils::tokenize method
This commit is contained in:
parent
820242635a
commit
cb3aab77fc
1 changed files with 3 additions and 0 deletions
|
@ -523,6 +523,9 @@ Glib::ustring Utils::get_lang()
|
|||
return lang ;
|
||||
}
|
||||
|
||||
//Extract a list of tokens from any number of background separator characters
|
||||
// E.g., tokenize(str=" word1 word2 ", tokens, delimiters=" ")
|
||||
// -> tokens=["word1","word2]
|
||||
//The tokenize method copied and adapted from:
|
||||
// http://www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-7.html
|
||||
void Utils::tokenize( const Glib::ustring& str,
|
||||
|
|
Loading…
Reference in a new issue