RE: [Nant-users] string::trim

2005-10-27 Thread Brass Tilde
> > I'm trying to remove spaces from a string and use it > > as a property. Any clue why the following won't work: > > > > > > > > > > > > > > > > > > > > > Eric- > property is immutable by definition so you cannot 'reset' it > as you are attempting to do here > 2 choices:

Re: [Nant-users] string::trim

2005-10-27 Thread Martin Gainty
Eric- property is immutable by definition so you cannot 'reset' it as you are attempting to do here 2 choices: 1)set another property (property with another name) to whitespace stripped variable 2)suggest to gert driesen the ability to capture information in a mutable 'variable' which was intr

Re: [Nant-users] string::trim

2005-10-27 Thread Gary Feldman
Eric Fetzer wrote: I'm trying to remove spaces from a string and use it as a property. Any clue why the following won't work: Trim removes spaces from the ends of a string, but not spaces within the string. To remove all spaces, use string::replace. Gary ---