PHP Basic String Functions

substr In JavaScript there is a “substr”, but the modern form is “subverting”. In PHP the substr is illustrated below: $string=“0123456789”; echo “substr(\$string,3,4)=”.substr($string,3,4); //result: substr($string,3,4)=3456 substr, in the example above, copies a string from $string, starting at position 3, and

Facebook Page

Facebook Page Loading...