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位置にある文字 (存在する場合)。

属性

適用対象

こちらもご覧ください