Share via


StringPrototype.substr(Object, Double, Object) 메서드

정의

지정된 문자열의 지정된 문자 위치에서 지정된 개수의 연속 문자를 포함하는 새 문자열을 만듭니다. 가능한 경우 substring(Object, Double, Object)을 대신 사용합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 static System::String ^ substr(System::Object ^ thisob, double start, System::Object ^ count);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_substr)]
[Microsoft.JScript.NotRecommended("substr")]
public static string substr (object thisob, double start, object count);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_substr)>]
[<Microsoft.JScript.NotRecommended("substr")>]
static member substr : obj * double * obj -> string
Public Shared Function substr (thisob As Object, start As Double, count As Object) As String

매개 변수

thisob
Object

이 메서드가 수행되는 개체입니다.

start
Double

가져올 첫 번째 연속 문자입니다.

count
Object

가져올 문자 수입니다.

반환

count에서 시작하는 start 연속 문자를 포함하는 새 문자열입니다.

특성

적용 대상

추가 정보