<?php $str = 'hellolleh'; function up($str) { return substr($str,0,(1+strlen($str))/2); } echo up($str);
You have javascript disabled. You will not be able to edit any code.