\hypertarget{_string_util_8cc}{\section{Core/\-Utils/\-Legacy/\-String\-Util.cc File Reference}
\label{_string_util_8cc}\index{Core/\-Utils/\-Legacy/\-String\-Util.\-cc@{Core/\-Utils/\-Legacy/\-String\-Util.\-cc}}
}
{\ttfamily \#include $<$Core/\-Utils/\-Legacy/\-String\-Util.\-h$>$}\\*
{\ttfamily \#include $<$Core/\-Utils/\-Legacy/\-Assert.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$ctype.\-h$>$}\\*
{\ttfamily \#include $<$limits$>$}\\*
\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 
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\-::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 
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 
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 
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 
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}
