Share via


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에 문자가 있는 경우 해당 문자입니다.

특성

적용 대상

추가 정보