![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
? when did the optional length on SUB STRING change to be ZERO? I have code that used to run. It would do a SUB STRING with a START FROM set to 2 and a blank in the LENGTH (optional) field. Now, that lenght is set by default to ZERO. Of course the code stops working. when? Why? this is V6.1 - |
| |||
|
Hello Philkryder, we have attached a sample task with this post as per your description and we were not able to reproduce any error. If you can send us your task file along with the screenshots, we will be able to guide you in a better way. Thanks & Regards |
| |||
|
Here is what the text of MY brand new, starting from scratch ATMN looks like. The first MESSAGE BOX displays 123456789 The second message box SHOULD display 23456789 but, instead we just see blank. When I re-edit the SUBSTRING the default lenght has changed from BLANK to ZERO 1 Comment: Substring default length 2 Variable Operation : 123456789 To $Clipboard$ 3 Message Box: "$Clipboard$" 4 String Operation: Extract substring from "$Clipboard$" and assign output to $Clipboard$ 5 Message Box: "$Clipboard$" |
| |||
|
Hello Phil, If the length is kept blank in the string operation command, it takes the default length as 0. You will have to type in the length there. In your example, we need to type the length as 8 and it gives the result. The "optional" tag over there, below the length field in string operation command is confusing and we have forwarded this to our engineers. It will be fixed in our next release. Thanks & Regards |
| |||
|
Please review this again. First off - an optional length is a normal language feature and is frequently used to select the remainder of the string following the starting location. By leaving the default blank, you don't need to know the length of the string - any remainder after the start location is selected. Moreover, that is the way it USED TO WORK. As I said, I had code that ran an worked correctly when leaving the OPTIONAL length blank. Please fix it so that the length is once again truly optional. |
| |||
| Quote:
by the way - here in the post I quote, you claim couldn't reproduce the problem, later you assert its working the way it should and the DOCUMENTATION is wrong?????????? Please review this again. thanks Phil Last edited by philkryder; 09-11-2011 at 01:10 PM. |
| |||
|
Hello Phil, We created the task with the length as 8 and so it was not giving us any error but then we kept it blank and it was taking the default length as 0. We have forwarded this issue to our engineers and it will be resolved soon. We apologize for the inconvenience you faced. Thanks & Regards. |
![]() |
| Thread Tools | |
| Display Modes | |
| |