Nick Sabalausky Wrote: > "Andrej Mitrovic" <[email protected]> wrote in message > news:[email protected]... > > E.g.: > > > > void main() > > { > > char[10] blue = "blue "; > > assert(blue == "blue"); > > } > > > > Obviously these two are different, but what function can I use to compare > > strings in situations where whitespace is the delimiter? > > assert(strip(blue) == "blue"); > > Is that what you need or did I misunderstand? > >
Yup. blue[].strip (slice is needed). And here I was desperately trying to find the trim() function. Thanks!
