Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Sep 17, 2009 8:06 am Post subject: |
|
|
The StringTokenizer only uses 1 character as a token.
so try ^ as the token first.. then strip off the #.
also the variables are stored as single lines, so you cannot store a variable as:
filename1
filename2
Or, you could use filename1, filename2 ... etc.. instead
for this you could use the Replace function:
String newVar = var.replaceAll("#^", ", ");
newVar = newVar.replaceAll("#"," "); |
|
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Sep 18, 2009 12:46 pm Post subject: |
|
|
Your only other option would be:
Use the script to write the message body you need, to a text file . See the script examples on how string to write to text files.
Then in your email task, message body field use:
$$$c:\test\test.txt
where c:\test\test.txt is the message body you output from the script. |
|