Re: concatenate fields

2008-07-05 Thread william humphrey
I was thinking that it just wasn't the complete sws function. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listin

Re: concatenate fields

2008-07-05 Thread Peter Brigham
On Jul 3, 2008, at 1:00 PM, "william humphrey" <[EMAIL PROTECTED]> wrote: Nice -- Where do I get sws tText? Not sure what you are asking. The function handler should be placed sufficiently high in the message path so it is available wherever you might need it. Usually this will be in you

Re: concatenate fields

2008-07-03 Thread william humphrey
Nice -- Where do I get sws tText? On Wed, Jul 2, 2008 at 7:45 PM, Mark Wieder <[EMAIL PROTECTED]> wrote: > Peter- > > > If you have this utility function: > > > > function sws tText > > -- strips white space (returns, spaces, tabs, etc) > > -- from tText, fore & aft > > return word 1 to -1

Re: concatenate fields

2008-07-02 Thread Mark Wieder
Peter- > If you have this utility function: > > function sws tText > -- strips white space (returns, spaces, tabs, etc) > -- from tText, fore & aft > return word 1 to -1 of tText > end sws That's also handy for stripping the comment off the end of a line from a script... -- Mark Wieder

Re: concatenate fields

2008-07-02 Thread Peter Brigham
On Jul 1, 2008, at 10:00 AM, "william humphrey" <[EMAIL PROTECTED]> wrote: Thanks Sarah. I thought I'd have to do it like that with a bunch of "if's" but I'm always reading these amazing solutions here so I'm beginning to think that there is some magic beyond ordinary mortals. It is a rel

Re: concatenate fields

2008-07-01 Thread william humphrey
Thanks Sarah. I thought I'd have to do it like that with a bunch of "if's" but I'm always reading these amazing solutions here so I'm beginning to think that there is some magic beyond ordinary mortals. It is a relief to know that sometimes the mundane answer is correct. ___

Re: concatenate fields

2008-06-30 Thread Sarah Reichelt
On Tue, Jul 1, 2008 at 12:44 PM, william humphrey <[EMAIL PROTECTED]> wrote: > Good evening and, as always, thanks for the help > > What's the best way to concatenate three fields to make one text string with > spaces between the words when you don't know how many or which of the three > fields wil

concatenate fields

2008-06-30 Thread william humphrey
Good evening and, as always, thanks for the help What's the best way to concatenate three fields to make one text string with spaces between the words when you don't know how many or which of the three fields will contain data and you don't want extra spaces in the result?