Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

문자별 치환

항목값
화면 이름Character-wise translate string
식별자translateStringV1
지원 실행 방식Batch, Faster, Streaming
범주문자열 (String)
반환 자료형String

입력 열에서 matching 문자열에 있는 각 문자를 replacement 문자열의 같은 위치 문자로 바꿉니다. matching이 더 길면 대응하는 치환 문자가 없는 끝부분 문자를 제거합니다.

입력 인자

이름지정 여부자료형의미와 조건
Expression필수Expression<AnyType>문자별 치환을 적용할 표현식입니다.
Matching string필수Literal<String>입력에서 찾아 바꿀 문자들을 포함한 문자열입니다.
Replacement string필수Literal<String>일치한 문자를 대신할 문자들을 포함한 문자열입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • Expression: translate
  • Matching string: rnlt
  • Replacement string: 123

출력: 1a2s3ae

예시 2: 기본 동작

인자 값:

  • Expression: abc
  • Matching string: aab
  • Replacement string: de

출력: dc

예시 3: 기본 동작

인자 값:

  • Expression: abc
  • Matching string: acb
  • Replacement string: de

출력: de

예시 4: 기본 동작

인자 값:

  • Expression: abc
  • Matching string: ac
  • Replacement string: df

출력: dbf

예시 5: null 처리

인자 값:

  • Expression: null
  • Matching string: a
  • Replacement string: b

출력: null