string size stays zero
<p>I made this function</p>

<p>the input string is something like this "the little fox was white"
I'm calling this function myword=my_copy_from(input,11,3)
I was hopping I would get the word "fox" back but when I used the debugger I saw that the size of back is staying 0 bytes.</p>

<p>Why is that???
thanks</p>

<pre><code>    // start of my_copy_from //
     string my_copy_from(string in,short start,short len)
     {
    string back ;
    short i;

    for (i=0 ; i&lt;len; i++)
    {
      back[i]=' ';
      back[i]=in[start+i];


    }

    return back;
}
   // end of my_copy_from //
</code></pre>
