Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This function is one of Plugins Operation.You can find the movie in ARGOS RPA+ video tutorial.



String Manipulation

String Manipulation plugin is based on Regular Expression. User is required to possess knowledge about Regular Expression.



Warning
iconfalse
title<Troubleshooting Tips>


Found incompatibility between String Manipulation and Python Regular Expression?

Please refer to this FAQ page! ==> What can I do when passing a special character string as value property value and it is causing a problem



Need help?

Technical contact to tech@argos-labs.com


May you search all operations,


New parameters are added in the Advanced Menu from version 2.1104.1120



Tooltip
appendIconComment
iconColorBlue
width1080px
linkTextText from Image

Right Text Bubble

Left Text Bubble

  • Always check the Multi-line Flag when you are handling set of character strings that are more than one line!
  • New parameter added to only apply “process” to the first letter of a string. Very handy when you want to capitalized the first letter of a char-string, such as names.



Tip
iconfalse

All Regular Expression token sequence can be used with exception of a few tokens that are described in Errata here.

To test and capture Regular Expression token sequences, we recommend to use online tools such as “regular expressions 101” https://regex101.com/

You can simply test and copy/paste the token sequence from the tool and paste in the plugin parameter section.




Note
titleIMPORTANT NOTE

Please read when handling SPACE by itself.

String Manipulation plugin is almost 100% compatible to standard Regular Expression. Only exception is handling of "space". When handling space alone as a single character, you must use double quotations around space i.e. " ". 

When space is part of the string you try to find, no need to have double quotation. Examples are , (comma and space), a b (a space b), and a + (a space plus).

Finding space can be also done other tokens such as \s.




(warning) Refer to this FAQ contents when you find incompatibility between Regular Expression (Python) and String Manipulation.




Contents

  1. Errata
  2. When using “substring” option.

  3. When you are replacing characters with a space use double quotes “ “.



Anchor
tip1
tip1


Errata

  • toupper/tolower options need Regular Expression box filled with at least one character.

    Reported: September 20, 2019 

    Fix Schedule: Undecided

 



Tooltip
appendIconComment
iconColorBlue
width720px
linkTextText from Image
  • String operatio...: [String Manipulation] When using “toupper” and “tolower” options
  • Regular Expres...: Error occurs when you leave [Regular Expression] box blank. This is a bug. Work Around: Enter any character.


Anchor
tip2
tip2


When using “substring” option.

  1. Substring option finds a target string in another text string.
  2. It returns the starting position of the target string when found – see example below.
    It returns -1 if not found. 

 


Tooltip
appendIconComment
iconColorBlue
width720px
linkTextText from Image

Right Text Bubble

  • String operatio...: “Substring” option is great for handling a text string inside another text string.
  • Regular Expres...: Enter any character here to avoid error.
  • Result type:
    Return value
    - When TRUE: Starting position of the target string. Ex. “World” in “Hello World” returns 6 (0 as a start)
    - When FALSE: it returns -1

Left Text Bubble

  • Ignore Case: Check this box to ignore upper/lower cases.


Anchor
tip3
tip3


When you are replacing characters with a space use double quotes “ “.

  • This is a bug.

    Reported: September 25, 2019 

    Fix Schedule: Undecided



Tooltip
appendIconComment
iconColorBlue
width720px
linkTextText from Image
  • Regular Expres...: Bracket is needed for when repeating the replacement or when replacing a special double byte characters like space.
  • String to replace: STU and PAM cannot see blank space. Please use double quotes like “ “.