mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Creating a common word_count functions for strings.
This commit is contained in:
parent
2bffc33452
commit
fea2c3cc04
3 changed files with 14 additions and 18 deletions
|
|
@ -14,5 +14,7 @@ char* strtrim(char* c_str);
|
|||
|
||||
void to_lower(std::string& str);
|
||||
|
||||
int word_count(std::string const& str);
|
||||
|
||||
} // namespace openmc
|
||||
#endif // STRING_FUNCTIONS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue