MathGroup Archive 1995

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

Search the Archive

String Comparison

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2182] String Comparison
  • From: khosra at psl108.fi.gs.com (Amir Khosrowshahi)
  • Date: Fri, 13 Oct 1995 02:23:05 -0400
  • Organization: Goldman, Sachs & Co

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: MMA movie with sound to QT
  • Previous by thread: String Comparison
  • Next by thread: Inverse Z-Transform and/or Long Division