![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have an application with CASE NUMBERS that are STRINGS - but they contain numerals and dashes. For example: 1234-01 I've noticed that when I assign them to a variable, that SUBTRACTION is performed. This simple program below does a msgbox of: *Clipboard*-01 *ClipboardSave*1233 ClipboardSave should be 1234-01 1 Variable Operation : 1234 To $Clipboard$ 2 Variable Operation : $Clipboard$ To $ClipBoardSave$ 3 Variable Operation : -01 To $Clipboard$ 4 Variable Operation : $ClipBoardSave$$Clipboard$ To $ClipBoardSave$ 5 Message Box: "*Clipboard*$Clipboard$ *ClipboardSave*$ClipboardSave$" |
| |||
|
Hello Phil, You can also try this, . In Variable Operation command, insert comma (,) before Case Number like this, 1234-01 . Use String Manipulation command to extract string after comma. Text format of commands would appear as follows, 1) Variable Operation : ,1234-01 To $Prompt-Assignment$ 2) String Manipulation : "$Prompt-Assignment$" and assign to : $Prompt-Assignment$ For your convenience, we have also attached a sample task. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Hope that helps. |
| |||
| Quote:
Do you plan to fix this so that concatenation just works, Rather than requiring us to work around it? |
| |||
|
Could someone please help me find/replace \n\n .. i have an extract table pushing to a CSV.. in the CSV file the html <br><br> is replaced with to end lines or \n\n in the text editor.. i need to make manipulate these to preserve the paragraphs before pushing to SQL.. Please help. Thanks Rich |
![]() |
| Thread Tools | |
| Display Modes | |
| |