<div style="font-family: 'Times New Roman'; font-size: 16px;">Hello, <br _moz_dirty="" /><br _moz_dirty="" />I have made this :<br _moz_dirty="" /><br _moz_dirty="" />(define (string-insert s1 i)<br _moz_dirty="" />  (if(&gt; (string-length s1) 0)  (string-append (substring s1 0 i) &quot;-&quot; (substring s1 i (string-length s1)))))<br _moz_dirty="" /><br _moz_dirty="" />But on the if I get a this message : <br _moz_dirty="" /><br _moz_dirty="" />if: expected a question and two answers, but found only 2 parts<br _moz_dirty="" /><br _moz_dirty="" />So I think that the if get sonehow messed up ,<br _moz_dirty="" /><br _moz_dirty="" />What I try to do is this : <br _moz_dirty="" /><br _moz_dirty="" />When the lenght of the string is greater then 0 then take the first part of the string  then put the - and the last part of the string. As last append the pieces to 1 piece.<br _moz_dirty="" />Without the if everything works great on non empty strings. <br _moz_dirty="" /><br _moz_dirty="" />Anyone a idea where I did make the wrong turn. <br _moz_dirty="" /><br _moz_dirty="" />Roelof<br _moz_dirty="" /><br /></div>