mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-28 12:10:01 +00:00
Add comment to Utils::tokenize method
This commit is contained in:
parent
820242635a
commit
cb3aab77fc
|
@ -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