<?php

$str = 'Güney';

echo' '.substr($str,1,-1).' '; 
?>
Buda rahatca isini görürdü hocam,o kadar for döngüsüne gerek yoktu