Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: No StringCompare in Mathematica?

  • To: mathgroup at
  • Subject: [mg67176] Re: [mg67148] No StringCompare in Mathematica?
  • From: Bob Hanlon <hanlonr at>
  • Date: Sun, 11 Jun 2006 02:18:13 -0400 (EDT)
  • Reply-to: hanlonr at
  • Sender: owner-wri-mathgroup at












Bob Hanlon

---- "Steven T. Hatton" <hattons at> wrote: 
> I wanted to sort a list of XMLElements based on the text in the third
> descendent of the element type used to form the list.  In order to set up
> the comparison predicate, I had to(?) form a list of the two candidate
> strings and compare it to the sorted version of itself.  The sort was
> fairly slow in executing.  I would like to have simply done s1 < s2, but
> Mathematica doesn't appear to support that.  Is there a way to get that
> functionality more simply than what I described?
> -- 


Bob Hanlon
hanlonr at

  • Prev by Date: Re: Simple question from a biologist
  • Next by Date: ? about Rule (rewritten)
  • Previous by thread: Re: No StringCompare in Mathematica?
  • Next by thread: Re: No StringCompare in Mathematica?