Files
StorytellersBestFriend/sbf-cpp/Utils.h
Tom Hicks b3bb6e4031 Converts from wstring to regular string.
Cleans up empty test suites to return no tests instead of a single pass.
2023-04-15 16:30:06 -07:00

17 lines
536 B
C++

#ifndef UTILS_H__
#define UTILS_H__
#include <string>
namespace SBF {
using std::string;
size_t get_index_of(const string& text, const string& search, size_t start);
string word_wrap(const string& text, int maxWidth);
string get_substring(const string& text, int32_t var1, int32_t var2);
string make_fit_l(const string& text, size_t length, char paddCh);
string left(const string& text, size_t length);
string string_dollar(size_t length, char ch);
} // End namespace SBF
#endif // End !defined UTILS_H__