\hypertarget{_legacy_2_string_util_8h}{\section{Core/\-Utils/\-Legacy/\-String\-Util.h File Reference}
\label{_legacy_2_string_util_8h}\index{Core/\-Utils/\-Legacy/\-String\-Util.\-h@{Core/\-Utils/\-Legacy/\-String\-Util.\-h}}
}
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$vector$>$}\\*
{\ttfamily \#include $<$sstream$>$}\\*
{\ttfamily \#include $<$fstream$>$}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$Core/\-Utils/\-Legacy/share.\-h$>$}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_s_c_i_run}{S\-C\-I\-Run}
\begin{DoxyCompactList}\small\item\em S\-T\-L datatypes needed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{namespace_s_c_i_run_a372c9041a73e7471e1a537960b45d362}{from\-\_\-string} (const std\-::string \&str, double \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_a8b5752f3f71a05edc15fd6672fb8f19b}{from\-\_\-string} (const std\-::string \&str, float \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_ab902d5598ea725cc84ca3730fd94a1c4}{from\-\_\-string} (const std\-::string \&str, int \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_a266fc2977ca6a908fa9025a7372aa8b6}{from\-\_\-string} (const std\-::string \&str, unsigned int \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_ae3326bdc67dd6edf1743d0275af1df73}{from\-\_\-string} (const std\-::string \&str, long \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_a07e3164ce1f718a6d4665be780a5ebf6}{from\-\_\-string} (const std\-::string \&str, unsigned long \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_ac98cac8a0c8913b5393cf426478c3577}{from\-\_\-string} (const std\-::string \&str, long long \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_ae0d82c18431a9586c89fb583cb6d10f6}{from\-\_\-string} (const std\-::string \&str, unsigned long long \&value)
\item 
{\footnotesize template$<$class T $>$ }\\bool \hyperlink{namespace_s_c_i_run_a936b8de4246058f859527255d40ac41f}{multiple\-\_\-from\-\_\-string} (const std\-::string \&str, std\-::vector$<$ T $>$ \&values)
\item 
{\footnotesize template$<$class T $>$ }\\bool \hyperlink{namespace_s_c_i_run_a4b6c055d3ebc26a2d6d98a8144ba570b}{from\-\_\-string} (const std\-::string \&str, T \&value)
\item 
bool \hyperlink{namespace_s_c_i_run_a670b8d3646b62767d9502a0ff7a0d93a}{string\-\_\-to\-\_\-bool} (const std\-::string \&str, bool \&result)
\item 
bool \hyperlink{namespace_s_c_i_run_a6c519eb942384b624ed787e5b12ff74a}{string\-\_\-to\-\_\-int} (const std\-::string \&str, int \&result)
\item 
bool \hyperlink{namespace_s_c_i_run_a789d4c548d5b5db7fd3539211f3f39a0}{string\-\_\-to\-\_\-double} (const std\-::string \&str, double \&result)
\item 
bool \hyperlink{namespace_s_c_i_run_a00e48cb192260bf236935e695515008c}{string\-\_\-to\-\_\-unsigned\-\_\-long} (const std\-::string \&str, unsigned long \&result)
\item 
{\footnotesize template$<$class T $>$ }\\std\-::string \hyperlink{namespace_s_c_i_run_a85b637d3638ffcc459cd2b93af980678}{to\-\_\-string} (T val)
\item 
{\footnotesize template$<$class T $>$ }\\std\-::string \hyperlink{namespace_s_c_i_run_a26d7b536b830953505e502b2dcc97533}{to\-\_\-string} (T val, int precision)
\item 
std\-::string \hyperlink{namespace_s_c_i_run_a11d968374a8c743bad1db4782c93d259}{string\-\_\-toupper} (std\-::string str)
\item 
std\-::string \hyperlink{namespace_s_c_i_run_a28ae7898e4401a5f4037b067d49d10bf}{string\-\_\-tolower} (std\-::string str)
\item 
std\-::string \hyperlink{namespace_s_c_i_run_a801ce0ad3811052d85ff38e34837e1d1}{basename} (const std\-::string \&path)
\begin{DoxyCompactList}\small\item\em Remove directory name. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_s_c_i_run_a43e19bdeee0849a3c2e15142a5ab2e3a}{pathname} (const std\-::string \&path)
\begin{DoxyCompactList}\small\item\em Return directory name. \end{DoxyCompactList}\item 
std\-::vector$<$ std\-::string $>$ \hyperlink{namespace_s_c_i_run_a13f8214d625a800c2a3b2f42bc421fb5}{split\-\_\-string} (const std\-::string \&str, char sep)
\item 
std\-::string \hyperlink{namespace_s_c_i_run_afb0a173c4fe1d839174fba935845745b}{string\-\_\-\-Cify} (const std\-::string \&str)
\begin{DoxyCompactList}\small\item\em C++ify a string, turn newlines into \par
, use , , \textbackslash{} ", etc. \end{DoxyCompactList}\item 
char $\ast$ \hyperlink{namespace_s_c_i_run_a7898f2fec8d4a5be0fda98bfc0739c61}{ccast\-\_\-unsafe} (const std\-::string \&str)
\begin{DoxyCompactList}\small\item\em Unsafe cast from string to char $\ast$, used to export strings to C functions. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_s_c_i_run_aca9eba116fd64eec3fc87e736a441f4f}{replace\-\_\-substring} (std\-::string str, const std\-::string \&substr, const std\-::string \&replacement)
\item 
bool \hyperlink{namespace_s_c_i_run_ab9be5397f784f87343c92167c1e2546a}{ends\-\_\-with} (const std\-::string \&str, const std\-::string \&substr)
\item 
void \hyperlink{namespace_s_c_i_run_adf15e4520a01c5249ded3e6afbe04d9a}{strip\-\_\-spaces} (std\-::string \&str)
\item 
void \hyperlink{namespace_s_c_i_run_a8afb31edc9b659691d737650f281d285}{strip\-\_\-surrounding\-\_\-spaces} (std\-::string \&str)
\end{DoxyCompactItemize}
