![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: Remove Spaces from a Variable Topic Summary: Created On: 05/31/2012 08:17 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thanks that did the trick! | ||||||||||
![]() |
||||||||||
Hello,
I can't for the life of me figure this out. I'm basically trying to do the following: I'm looping through a directory and gathering the file names for all files and placing them into a variable. (See attached Code) Basically, this code works. I'm able to get all the files names, however it's adding a space at the end. I'm trying to compare the files names from the variable with another list/variable. It never matches, because of the space. How can I remove spaces from a variable? Perhaps, you all might have a better way to perform what I'm trying to do. I appreciate the help.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) |
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Jason,
You are creating the blank line by setting the variable to itself with a blank value. Try the attached code below:
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Leonard Amabile | Director, Cross Platform Support AutoMate | InterMapper | Skybot | Divisions of HelpSystems T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Thanks that did the trick!
|
||||||||||
|
AutoMate Discussion
» AUTOMATE » AutoMate 7
»
Remove Spaces from a Variable
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.