How Can We Help?
< Back
You are here:
Print

str_replace – Key Processing

$answers[str_replace(‘answer-‘,”,$key)] = $val

Above code strips ‘answer-‘ out of the key ‘answer-2’ and converts it to ‘2’.

Table of Contents