Helper function for text formatting
| 472 | |
| 473 | // Helper function for text formatting |
| 474 | String TVIdentificationViewController::n_times(Size n, const String& input) |
| 475 | { |
| 476 | String result; |
| 477 | for (Size i = 0; i < n; ++i) |
| 478 | { |
| 479 | result.append(input); |
| 480 | } |
| 481 | return result; |
| 482 | } |
| 483 | |
| 484 | // Helper function that collapses a vector of strings into one string |
| 485 | String TVIdentificationViewController::collapseStringVector(vector<String> strings) |