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\answers\column_answer_two.php on line 128
+ Report
Total Preview: 848
Why substr() is used?

Copyright © 2024. Powered by Intellect Software Ltd