Question:Why substr() is used?

 

Answer The substr() function returns the part of a string located between a predefined starting offset and length positions.

Its prototype : string substr(string str, int start [, int length])

 


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: 918
Why substr() is used?

Copyright © 2024. Powered by Intellect Software Ltd