팩토리 » Api

stringreplaceat

Description

문자열의 특정 위치의 한 문자를 제거하고, 다른 문자(열)로 치환한다.

Parameters

Parameters Type Description
strString STRING 원본 문자열
nIndex STRING 치환할 위치 (Zero-Based)
strReplaceString STRING 치환할 문자(열)

Return Value

Type Description
STRING 트림 처리된 문자열

Example

function btn_on_mouseup(objInst) { var strValue = "01234"; strValue = factory.stringreplaceat(strValue, 1, "A"); factory.consoleprint(strValue); // 결?값 : 0A234 }

See Also

stringreplaceall
stringrtrim
stringltrim

Viewer Ver.

9.1.1.1

Update Date

20221129