WinAutomation - windows automation software with macro recorder

      Represent the <Blank> and <Space> in an expression

      Sometimes, you may need to check if a variable is empty or contains a single space. The question that may easily arise is: "How do I represent <Blank> and <Space> in WinAutomation?"

       

      WinAutomation uses the following notations:

      %""% (percent, double-quotes, double-quotes, percent): This character combination represents the empty. For example, you may have just read the contents of a text file and stored its contents in a list (each line of the text file is a list item). You can identify if a specific line of the text file is empty by checking if the list item equals to %""%.

      %" "% (percent, double-quotes, space, double-quotes, percent): This character combination represents the space character. You can also use this notation to identify if a variable contains a single space, but the most important use of this notation is in the "Replace Text" action: you can use it to replace all spaces in a text with a specific character, or add spaces instead of a specific character.

      Your rating: None Average: 4.8 (5 votes)

      Comments:



      Featured Clients