Learn GREEK with Easy Online Lessons, Discussions
Click HERE for details...

ASP Left, Mid, and Right Functions

The ASP Left(), Mid(), and Right() functions are used to extract a specified number of characters from a string.

ASP Coding for Left Function


Response.Write Left("How is Martha?",3)




=Left("How is Martha?",3)




Left, Mid, and Right Functions Results
Left("How is Martha?",3) How
Mid("How is Martha?",3,7) w is Ma
Right("How is Martha?",3) ha?