| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
|
| 10 |
#include <string> |
| 11 |
#include <vector> |
| 12 |
|
| 13 |
namespace SEAMS { |
| 14 |
/** |
| 15 |
* Take the 'str' argument and split it using the list of characters |
| 16 |
* in separators as separators. Use tokens to return the result. |
| 17 |
*/ |
| 18 |
std::vector<std::string> tokenize(const std::string &str, const std::string &separators); |
| 19 |
} // namespace SEAMS |