how to get substring of string without using substr() function in php ????
Answer Posted / nadeem sartawi
Write a PHP function that Returns the part of string
specified by the start and length parameters.
Hint 1: the function accepts three parameters.
Parameter:Description
string :Required. Specifies the string to return a part of
start :Required. Specifies where to start in the string
length :Optional. Specifies the length of the returned
string. :Default is to the end of the string.
Hint 2: YOU ARE NOT ALLOWED TO USE THE "substr" FUNCTION.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is node js better than php?
Are sessions stateless?
What is the best php version for wordpress?
Tell me which function gives us the number of affected entries by a query?
What is an associative array?
Explain what does the unlink() function means?
What is mysqli_real_escape_string?
Do while loops?
What is the purpose of the php empty function?
What is query string php?
What is difference between sql and php?
What is meant by session in php?
What is cookie and session in php?
Why use php artisan serve?
What are html entities?