title: Using libraries to change string state variables in solidity?
body: <p>I have a simple library that is intended to concatenate two strings, and store the result in a state variable (<code>full</code>) of the caller.</p>
  <pre><code>library PersonLibrary {
      
      function createFullName(string memory first, string memory last, string storage full)  public {
           string memory fullName = string(abi.encodePacked( first, &quot; &quot;,  last));
           full = fullName;
      }
  }
  </code></pre>
  <p>This generates the error <code>&quot;TypeError: Type string memory is not implicitly convertible to expected type string storage pointer.&quot;</code></p>
  <p>I've seen example libraries where storage values of the caller have been assigned within a library function, but maybe this is not possible with strings andother reference types?</p>