Got it. Thanks, Scott. I figured I was missing something stupid. I do find the documentation a bit confusing however.
________________________________ Gary McCullough -----Original Message----- From: M. Scott Ford [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 3:50 PM To: McCullough, Gary Cc: [EMAIL PROTECTED] Subject: Re: [Nant-users] string::concat? Gary, '+' is the concat operator for strings. If you read the list of operators that are supported for strings under 4.4, the operators are in a bullet list in the same order that they appear below. + operator is the first in the bulleted list, and thus, 4.4.1. I hope that helps. -Scott McCullough, Gary wrote: >Heh. I think those are plus signs you're using there, Scott! > >I know about using plus signs (that's what I ended up doing when I >couldn't figure out "Concat"). But there is documentation for an >operator called "Concat", which is different from the documentation for >the operator called "Add". > >Add: >http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html# o >p-num-add > >Concat: >http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html# o >p-string-concat > >What's it do, this "Concat" operator? Is it real? Is it just another >name for "Add"? Is it a fiendishly clever plot to confuse my small >brain? > >________________________________ > >Gary McCullough > >-----Original Message----- >From: M. Scott Ford [mailto:[EMAIL PROTECTED] >Sent: Monday, September 13, 2004 2:49 PM >To: McCullough, Gary >Cc: [EMAIL PROTECTED] >Subject: Re: [Nant-users] string::concat? > >Here is an example: >... ><property name="assemblies" value="Fastrac.Core" /> ><property name="assemblies" value="${assemblies + ';' + 'Fastrac.UI'}" >/> >... > >I hope that helps. > >-Scott > >McCullough, Gary wrote: > > > >>I guess I didn't make it clear that though I called it an expression >>when in fact it's an operator, it is indeed the operator I haven't >>been able to figure out how to use. So, has anybody used the Concat >>operator successfully and/or care to post a working example? >> >> >> >> >----------------------------------------------------------------------- - > > >>Gary McCullough >> >> >> >> >----------------------------------------------------------------------- - > > >>*From:* [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] *On Behalf Of >>*McCullough, Gary >>*Sent:* Monday, September 13, 2004 10:51 AM >>*To:* [EMAIL PROTECTED] >>*Subject:* RE: [Nant-users] string::concat? >> >>Sorry. It's Monday. I'm not awake yet. >> >>It's not a function, it's an operator. Here's what the docs say: >> >>------------------- >> >>4.4.1 Concat >> >>Summary >> >>Returns the concatenation of both string operands. >> >>Examples >> >>------------------- >> >> >> >> >http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html# o >p-string-concat > > >> >> >----------------------------------------------------------------------- - > > >>Gary McCullough >> >> >> >> >----------------------------------------------------------------------- - > > >>*From:* Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] >>*Sent:* Monday, September 13, 2004 10:44 AM >>*To:* McCullough, Gary; [EMAIL PROTECTED] >>*Subject:* Re: [Nant-users] string::concat? >> >>string::concat() isn't supported. Use + operator for concatenation. >>Where did you find this function? >> >>Jarek >> >> ----- Original Message ----- >> >> *From:* McCullough, Gary <mailto:[EMAIL PROTECTED]> >> >> *To:* [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> >> *Sent:* Monday, September 13, 2004 3:21 PM >> >> *Subject:* [Nant-users] string::concat? >> >> This may sound stupid, but I can't figure out how to make the >> string::concat function work. (The docs are kind of vague on it.) >> Can someone post an example? >> >> >> >> >----------------------------------------------------------------------- - > > >> Gary McCullough >> >> >> > > > > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users