ASP/VBScript Left() Returns a string containing a specified number of characters from the left side of a string.
ShotDev Focus:
- Using Asp and Left() function.
Example
asp_left.asp
<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Response.write Left("www.ShotDev.Com",15)&"<br>"
Response.write Left("www.ShotDev.Com",3)&"<br>"
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_left.asp
Screenshot
 
			



 Loading ...
 Loading ...