Home | History | Annotate | Download | only in internal

Lines Matching defs:comma

636 // Skips to the first non-space char after the first comma in 'str';
637 // returns NULL if no comma is found in 'str'.
639 const char* comma = strchr(str, ',');
640 if (comma == NULL) {
643 while (isspace(*(++comma))) {}
644 return comma;
647 // Returns the prefix of 'str' before the first comma in it; returns
648 // the entire string if it contains no comma.
650 const char* comma = strchr(str, ',');
651 return comma == NULL ? String(str) : String(str, comma - str);