ASP Left, Mid, and Right Functions

web

 
  Sponsored Links


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)

%>


OR

<%

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

%>


Result

How

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?
   
 
web

ReaLife WebDesigns / 310.371.3275
We appreciate having the opportunity to contribute to the success of your business!

© 1999-2010 ReaLife WebDesigns. All rights reserved. site map | terms of use