MathGroup Archive 1995

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

Search the Archive

String Comparison

  • Subject: [mg2182] String Comparison
  • From: khosra at psl108.fi.gs.com (Amir Khosrowshahi)
  • Date: Fri, 13 Oct 1995 06:23:05 GMT
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Goldman, Sachs & Co
  • Sender: daemon at wri.com ( )


Does mm allow for inequalities of strings?

For example, how can I get "Alpha" < "Beta" to come out as True
without doing something silly like: 

LessThanQ[x_,y_]:=Sort[{x,y}]=={x,y}

LessThanQ["Alpha","Beta"]



  • Prev by Date: What am I doing wrong?
  • Next by Date: Re: Mathematica R^2 value
  • Previous by thread: Re: What am I doing wrong?
  • Next by thread: String Comparison