Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2008, 06:56 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default version 5 evaluation of variables

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$"
Reply With Quote
  #2 (permalink)  
Old 10-24-2008, 09:34 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
Attached Files
File Type: atmn Sample4Phil.atmn (249 Bytes, 3 views)
Reply With Quote
  #3 (permalink)  
Old 10-26-2008, 09:33 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by forumsupport View Post
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.
Thanks.
Do you plan to fix this so that concatenation just works,
Rather than requiring us to work around it?
Reply With Quote
  #4 (permalink)  
Old 12-30-2008, 07:40 AM
RichTrawinski RichTrawinski is offline
Junior Member
 
Join Date: Dec 2008
Location: NY NY
Posts: 1
Send a message via AIM to RichTrawinski
Question How do i find \n (text editor) or br with extact table?

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 09:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved