enum SkStrSplitMode { // Strictly return all results. If the input is ",," and the separator is ',' this will return // an array of three empty strings.
kStrict_SkStrSplitMode,
// Only nonempty results will be added to the results. Multiple separators will be // coalesced. Separators at the beginning and end of the input will be ignored. If the input is // ",," and the separator is ',', this will return an empty vector.
kCoalesce_SkStrSplitMode
};
// Split str on any characters in delimiters into out. (strtok with a non-destructive API.) void SkStrSplit(constchar* str, constchar* delimiters,
SkStrSplitMode splitMode,
skia_private::TArray<SkString>* out);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.