How would you implement a substr() function that extracts a sub string from a given string?

Showing Answers 1 - 1 of 1 Answers

sri

  • Oct 1st, 2007
 

substr(string, position [, count])

It extract substring starting from start and going for count characters. If count is not specified, the string is clipped from the start till the end

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions