StringPrototype.charAt(Object, Double) Méthode

Définition

Retourne le caractère à la position spécifiée dans l'objet spécifié.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

thisob
Object

Objet sur lequel cette méthode agit.

pos
Double

Position du caractère à retourner.

Retours

Caractère à pos, le cas échéant.

Attributs

S’applique à

Voir aussi