<head><title>ColdC: Function/Method Reference: strsub()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: strsub()</h1> <hr> <p> <font size=+1><i>STRING</i> <b>strsub</b>(<i>STRING <b>str</b>, STRING <b>search</b>, STRING <b>replace</b></i>)</font> <p>This function replaces all occurances of the string <var>search</var> with the string <var>replace</var> and returns the result. Examples: <blockquote> <PRE> strsub("foobar", "bar", "baz") => "foobaz" </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>