Get First N Characters of String

While working with text processing we might need to get first N characters of a string. Programming languages provides various methods to do that. A table includes a links to posts with examples.

No.Programming language
1.PHP
2.Python

Leave a Comment

Cancel reply

Your email address will not be published.