Lea y revise la documentación de Automation Anywhere

Automation 360

Cerrar contenidos

Contenidos

Abrir contenidos

Using Split action

  • Actualizado: 2020/11/17
    • Automation 360 v.x
    • Crear
    • Espacio de trabajo de RPA

Using Split action

Use the Split action to split the specified string into multiple strings and store the output in a list variable.

Procedimiento

To split a string into multiple strings, perform these steps:

  1. In the Actions palette, double-click or drag the Split action from the String package.
  2. En el campo Cadena de origen, especifique la cadena de origen.
  3. In the Delimiter field, specify the character to split the string.
    For example, comma (,), semicolon (;), pipe (|), slash (/ \), newline character (\n), or space.

    In the delimiter text box, the newline character is not accepted for the Enter key as a line break. In that case, you can either press F2 and select Enter - String from String section or input the $String:Enter$ variable.

  4. In the Delimiter is field, select one of the options:
    • Case sensitive: The delimiter is case-sensitive.
    • Not case sensitive: The delimiter is not case-sensitive.
  5. In the Split into substrings field, select one of the options:
    • All possible: Splits the source string into as many substrings as possible.

      For example, if the original string is a,b,c,d, each character becomes a substring.

    • Solo: Limits the number of substrings.

      For example, if the original string is a,b,c,d, and you enter 3, the output is three strings: a, b, and c,d.

  6. In the Assign the output to variable list, specify the list variable.
  7. Haga clic en Guardar.
Enviar comentarios