ASP.NET Mid() ตัดตัวอักษรจากจุดเริ่มต้นถึงสุดสิ้นสุด
Syntax
Mid(string, start[, length])
Sample
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Dim strString As String = "I Love ThaiCreate.Com Version 2009"
Me.lblText1.Text = Mid(strString,7,15)
End Sub
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:Label id="lblText1" runat="server"></asp:Label>
</form>
</body>
</html>