<?php
$str='yohann';
$nom='machin';
$i=0;
$j=3;
$mot = substr($str,$i,$j);
et après


$mot .=$nom;