StringPrototype.charAt(Object, Double) メソッド

定義

指定したオブジェクトの指定した位置にある文字を返します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

thisob
Object

このメソッドを実行する対象のオブジェクト。

pos
Double

返す文字の位置。

戻り値

文字が pos にある場合、その文字。

属性

適用対象

こちらもご覧ください