<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="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> /** Internal helper class. Feel free to use it tho.</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> //! Will return wether or not a given char is in a string</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> //! Will replace a part of a string with another string</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> //! Will replace a part of a string with another string</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> //! Will return true if the given string consists only of digits (including signage)</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> //! Will convert the number in str to a number. </span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> //! Returns wether or not the operation was successful. </span></div>
<divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</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="l00033"></a><spanclass="lineno"> 33</span> <spanclass="comment"> //! Will split a string by a delimiter char. The delimiter will be excluded!</span></div>
<divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="comment"> //! Will split a string by a delimiter string. The delimiter will be excluded!</span></div>
<divclass="ttc"id="aclassHazelnp_1_1Internal_1_1StringTools_html_a4f1ff9fb44995407ea45b8c7c67ffeb6"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#a4f1ff9fb44995407ea45b8c7c67ffeb6">Hazelnp::Internal::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_1Internal_1_1StringTools_html_a10f61d7d8bcbfee50882bae801c0e68c"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#a10f61d7d8bcbfee50882bae801c0e68c">Hazelnp::Internal::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>
<divclass="ttc"id="aclassHazelnp_1_1Internal_1_1StringTools_html_ac45f8b6d0572443e9d2597447091b000"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#ac45f8b6d0572443e9d2597447091b000">Hazelnp::Internal::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_1Internal_1_1StringTools_html_a3cc71bfffcad9a4334e74aac69dbfd68"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#a3cc71bfffcad9a4334e74aac69dbfd68">Hazelnp::Internal::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_1Internal_1_1StringTools_html_aaf3aae30ed06c37d18f79b8450061ad1"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#aaf3aae30ed06c37d18f79b8450061ad1">Hazelnp::Internal::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_1Internal_1_1StringTools_html_a1abf1454a223165acfb52f2a246c8215"><divclass="ttname"><ahref="classHazelnp_1_1Internal_1_1StringTools.html#a1abf1454a223165acfb52f2a246c8215">Hazelnp::Internal::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>