Aprepro 5.0x
Loading...
Searching...
No Matches
apr_tokenize.h
Go to the documentation of this file.
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
13namespace 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
Definition apr_aprepro.cc:57
std::vector< std::string > tokenize(const std::string &str, const std::string &separators)
Definition apr_tokenize.cc:10