<?php $a='I love you'; echo str_replace_first('z','ea',$a); function str_replace_first($thiss,$that,$where) { return substr($where,0,strpos($where,$thiss)). $that. substr($where,strpos($where,$thiss)+strlen($thiss)); }
You have javascript disabled. You will not be able to edit any code.