Cisco Cisco Process Orchestrator 3.0 Guida Utente

Pagina di 242
 
12-2
Cisco Process Orchestrator User Guide
OL-30196-01
Chapter 12      Advanced Authoring Concepts
  Using String Activities
Using String Activities
You can use String activities to search, replace, and modify string content in the objects within Process 
Orchestrator. For example, you can:
Related Topics
See the Cisco Process Orchestrator online help for a list of:
  •
Common string escapes
  •
Common regular expressions
  •
Regular expression examples
  •
Commonly-used wildcard special characters
  •
Comparison operators
Table 12-1
Sample String Activities
Activity Type
Purpose
Find String
Search for specific content in a string. 
Split String
Split a string into multiple parts around matches of the given delimeter or 
delimeters.
String Escape 
Specify characters that must be escaped within a string so that the string 
can be inserted into messages or file names.
String Lowercase
Lowers the text case in a string
String Uppercase
Capitalize the text case in a string
Substring
Return part of a string starting with the characters in the start position and 
ending with the character in the specified end position. For example:
Input string = 
dictionary
Start position = 
4
End position = 
6
Dictionary
0123456 <- using 0 as the starting point
Positions 4 through 6 yield ‘ion’
Trim String
Trim characters from the content in a string. When no character is 
specified, the activity will trim all leading and trailing whitespace 
characters, including empty lines at the beginning and at the end.