StringPrototype.substring(Object, Double, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new string that contains the specified consecutive characters from the specified string.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ substring(System::Object ^ thisob, double start, System::Object ^ end);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_substring)]
public static string substring (object thisob, double start, object end);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_substring)>]
static member substring : obj * double * obj -> string
Public Shared Function substring (thisob As Object, start As Double, end As Object) As String
Parameters
- thisob
- Object
The object that this method is acting upon.
- start
- Double
The first consecutive character to get.
- end
- Object
The last consecutive character to get.
Returns
A new string that contains the consecutive characters between start
and end
.
- Attributes