
<h1 id="from-string">
 <a href="#/api/hash_t/fromString" class="anchor">
   <span>fromString</span>
  </a>
</h1>

<div class="signature">

<hr>

  <div class="definition-container">
    <div class="definition">
      <code class="desktop-only"><a href="#/api/hash_t/">occa::hash&#95;t</a> fromString(<span class="token keyword">const</span> <span class="token keyword">std::string</span> &amp;s)</code>
      <code class="mobile-only"><a href="#/api/hash_t/">occa::hash&#95;t</a> fromString(
    <span class="token keyword">const</span> <span class="token keyword">std::string</span> &amp;s
)</code>
      <div class="flex-spacing"></div>
      <a href="https://github.com/libocca/occa/blob/7d02eac1/include/occa/utils/hash.hpp#L161" target="_blank">Source</a>
    </div>
    
  </div>

  <hr>
</div>


<h2 id="description">
 <a href="#/api/hash_t/fromString?id=description" class="anchor">
   <span>Description</span>
  </a>
</h2>

Given the full string representation of the hash ([getFullString](/api/hash_t/getFullString)),
get the original [occa::hash_t](/api/hash_t/) object back.
