Question:

Why substr() is used?

 

Answer 

The substr () function is used to return the part of a string str located between a predefined starting offset and length position.
<?php
echo substr("Hello World!"6,5);
?>

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 661

Why substr() is used?

Copyright © 2024. Powered by Intellect Software Ltd