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