Parse

지정된 문자열에서 여러 문자를 분석하고 구문 분석합니다.

Locate action 을 사용하여 구문 분석할 문자열에서 위치를 찾을 수 있습니다. Parse을(를) 사용하여 더 큰 문자열에서 숫자 범위를 추출합니다. 예를 들어, 문자열 "8015553200"은 Start=1End=3으로 구문 분석되어 "801"을 반환할 수 있습니다. 대부분의 경우 변수에는 구문 분석할 데이터가 포함됩니다.

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

일반

이메일 채팅 전화 음성 사서함 작업 항목 SMS 디지털

Input Properties

이러한 속성은 실행할 때 작업이 사용하는 데이터를 정의합니다.

속성

설명

캡션 추가

스크립트에서 이 작업을 고유하게 식별하는 짧은 문구를 입력합니다. 캡션은 스크립트 캔버스의 작업 아이콘 아래에 표시됩니다. The default is the action name.

String

여기서 값은 구문 분석할 문자열입니다. 이 속성 값에서는 변수 대체를 사용하는 것이 일반적입니다. 이 속성에 값을 입력할 때 중괄호가 필요합니다.

Start

구문 분석할 첫 번째 문자의 위치입니다. 이 속성 값에서는 변수 대체를 사용하는 것이 일반적입니다. 임의 크기 값의 경우 Locate 작업을 사용하여 값을 찾을 수 있습니다. 이것은 숫자 값이므로 이 속성에는 중괄호를 사용할 수 없습니다.

End

구문 분석할 마지막 문자의 위치입니다. 이 속성 값에서는 변수 대체를 사용하는 것이 일반적입니다. 임의 크기 값의 경우 Locate 작업을 사용하여 값을 찾을 수 있습니다. 이것은 숫자 필드이므로 이 속성에는 중괄호를 사용할 수 없습니다.

Variable

구문 분석된 텍스트를 받을 변수의 이름.

Result Branch Conditions

결과 브랜치 조건을 사용하면 작업이 실행될 때 여러 결과를 처리하기 위해 스크립트에 브랜치를 생성할 수 있습니다.

조건

설명

Default

다른 분기를 사용하기를 요구하는 조건을 스크립트가 충족하지 않는다면 사용되는 경로입니다. 작업의 다른 분기가 정의되지 않았을 때도 사용되는 경로입니다.