String utilities substring


When you are creating a workflow with the TrueSight Orchestration Development Studio application, use the substring operation to extract a segment from a specified string.

To configure a Utility activity to extract a specific segment from a string

  1. On the Property Panel for the Utility activity, select string from the Utility type field menu.
  2. Select substring from the Operation type menu.
  3. Launch the context browser.
  4. Select the Context item for the resulting string.
  5. Enter the string from which a segment will be extracted.
  6. Launch the context browser, and then select the Context item.

    If the value contained in the Context item is not in the correct format, it can be transformed using the Basic or Advanced transform.

  7. Enter a value for the Start Index.
    The Start Index is a zero-based index of the input string and is inclusive.

    Warning

    The definition of a Start Index is optional. If no Start Index is defined, an index of 0 will be used, starting at the beginning of the string.

  8. Enter a value for the end Index.

    The end Index is a zero-based index of the Input String and is non-inclusive.

    Warning

    The definition of an end index is optional. If no end index is defined, then a substring starting from the defined Start Index to the end of the string will be returned.

Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Platform 22.2