<head><title>ColdC: Function/Method Reference: strgraft()</title></head>
<body>
<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: strgraft()</h1>
<hr>
<p>
<font size=+1><i>STRING</i> <b>strgraft</b>(<i>STRING <b>str</b>, INTEGER <b>pos</b>, STRING <b>str2</b></i>)</font>
<p>This function grafts a string into another string. It will take the
string specified by <var>str2</var> and insert it into <var>str</var>,
starting at the position specified by <var>pos</var>.
<p>Example:
<blockquote><pre>
strgraft("this string", 6, "is a ")
=> "this is a string"
</pre></blockquote>
<p><hr size=4><p align=center><i>Last Modified on 24 Mar 1996</i>
<br><i>Copyright © 1995, 1996, Brandon Gillespie</i>
</body>