StringPrototype.charAt(Object, Double) Methode

Definitie

Retourneert het teken op de opgegeven positie in het opgegeven object.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static System::String ^ charAt(System::Object ^ thisob, double pos);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_charAt)]
public static string charAt(object thisob, double pos);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_charAt)>]
static member charAt : obj * double -> string
Public Shared Function charAt (thisob As Object, pos As Double) As String

Parameters

thisob
Object

Het object waarop deze methode handelt.

pos
Double

De positie van het teken dat moet worden geretourneerd.

Retouren

Het teken bij pos, als er een is.

Kenmerken

Van toepassing op

Zie ook