web 2.0

VB.NET & InStr()

VB.NET & InStr() - InStr() : Returns an integer specifying the start position of the first occurrence of one string within another.

ShotDev Focus:
- VB.NET & InStr()

Example

InStr.aspx

<%@ Page Language="VB" %>
<script type="text/javascript"><!--
Sub Page_Load(sender As Object, e As EventArgs)
Dim strString As String = "abcdefghijklmnopqrstuvwxyz"

Me.lblText1.Text =  InStr(strString,"n")
End Sub
// --></script>

ShotDev.Com Tutorial
<form>
</form>

Screenshot

VB.NET & InStr()
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.