Clear Up
SharpKit Reference

JsString.indexOf Method (JsString)

Returns the character position where the first occurrence of a substring occurs within a String object.

Namespace: SharpKit.JavaScript

Class: JsString

Syntax

public JsNumber indexOf(JsString subString)

Parameters

subString
Type: SharpKit.JavaScript.JsString
Substring to search for within the String object.

Return Value

Type: SharpKit.JavaScript.JsNumber
An integer value indicating the beginning of the substring within the String object. If the substring is not found, a -1 is returned.
© Copyright 2005-2011 SharpKit. All rights reserved.