StringPrototype.charAt(Object, Double) Metodo
Definizione
Restituisce il carattere in corrispondenza della posizione specificata nell'oggetto specificato.Returns the character at the specified position in the specified object.
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.
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
Parametri
- thisob
- Object
Oggetto su cui agisce questo metodo.The object that this method is acting upon.
- pos
- Double
Posizione del carattere da restituire.The position of the character to return.
Restituisce
Carattere in corrispondenza di pos
, se presente.The character at pos
, if there is one.
- Attributi