<?php $needle = 'Hello'; $replacement = 'hello'; (ctype_upper($needle[1])) ? ucfirst($replacement) : '' ; echo $needle[1]; echo $replacement;
You have javascript disabled. You will not be able to edit any code.