<ahref="StringTools_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="preprocessor">#pragma once</span></div>
<divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> /** Internal helper class. Feel free to use it tho.</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> //! Will return wether or not a given char is in a string</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> //! Will replace a part of a string with another string</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> //! Will replace a part of a string with another string</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> //! Will return true if the given string consists only of digits (including signage)</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> //! Will convert the number in str to a number. </span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> //! Returns wether or not the operation was successful. </span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> //! Also returns wether the number is an integer, or floating point. If int, cast out_number to int.</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> //! Will split a string by a delimiter char. The delimiter will be excluded!</span></div>
<divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="comment"> //! Will split a string by a delimiter string. The delimiter will be excluded!</span></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_a0ca14c1d67833a61955a693f3e40d8b5"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#a0ca14c1d67833a61955a693f3e40d8b5">Hazelnp::StringTools::Replace</a></div><divclass="ttdeci">static std::string Replace(const std::string &str, const char find, const std::string &subst)</div><divclass="ttdoc">Will replace a part of a string with another string.</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00014">StringTools.cpp:14</a></div></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_a6cd093feaca2d978c23774cf87d86e68"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68">Hazelnp::StringTools::IsNumeric</a></div><divclass="ttdeci">static bool IsNumeric(const std::string &str, const bool allowDecimalPoint=false)</div><divclass="ttdoc">Will return true if the given string consists only of digits (including signage)</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00056">StringTools.cpp:56</a></div></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_ab661223da5bbbb75039e168409466c82"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82">Hazelnp::StringTools::ParseNumber</a></div><divclass="ttdeci">static bool ParseNumber(const std::string &str, bool &out_isInt, long double &out_number)</div><divclass="ttdoc">Will convert the number in str to a number.</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00082">StringTools.cpp:82</a></div></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_aec1abd8b22146c7a9ebeb6a94d6af5ee"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee">Hazelnp::StringTools::Contains</a></div><divclass="ttdeci">static bool Contains(const std::string &str, const char c)</div><divclass="ttdoc">Will return wether or not a given char is in a string.</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00005">StringTools.cpp:5</a></div></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_a7cd6606ef06170fab363024e457f1f16"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#a7cd6606ef06170fab363024e457f1f16">Hazelnp::StringTools::SplitString</a></div><divclass="ttdeci">static std::vector< std::string > SplitString(const std::string &str, const char delimiter)</div><divclass="ttdoc">Will split a string by a delimiter char. The delimiter will be excluded!</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00125">StringTools.cpp:125</a></div></div>
<divclass="ttc"id="aclassHazelnp_1_1StringTools_html_a67edf755685f59b51f7416d9e4f6e2bd"><divclass="ttname"><ahref="classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd">Hazelnp::StringTools::ToLower</a></div><divclass="ttdeci">static std::string ToLower(const std::string &str)</div><divclass="ttdoc">Will make a string all lower-case.</div><divclass="ttdef"><b>Definition:</b><ahref="StringTools_8cpp_source.html#l00173">StringTools.cpp:173</a></div></div>