[jawsscripts] Re: testing 2 strings for equality

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 12 Aug 2009 20:55:08 +0530

 Thank you very much, it seems to work fine this way, however I did not
tested it competely, and shall let you know if anything arise.
Donald Marang wrote: You should be able to use the == operator within a
condition, if StringA == StringB Then ... Else ... EndIf or am I missing
something? Don Marang ----- Original Message ----- From: "Jitendra"
<jeet.invincible@xxxxxxxxx>[1] To: <jawsscripts@xxxxxxxxxxxxx>[2] Sent:
Wednesday, August 12, 2009 7:16 AM Subject: [jawsscripts] testing 2 strings
for equality Hello friends, the following function has a bug, is there any
other way doing it? I have 2 strings, and want to compare them, for example:
the string a is: "2.00", and string b is: 20.0", so what I want is that the
function should return false in that case, and if both strings have same
characters, and in the same place as string a has, then true. Void Function
stringMatch (string StringA, string StringB) if (StringLength(StringA) ==
StringLength(StringB)) &&StringContains(StringA,StringB) then return true
else return false EndIf EndFunction Thank you, Jitendra. __________ Visit
andcontribute to The JAWS Script Repository http://jawsscripts.com[3] View
the list's information and change your settings at
http://www.freelists.org/list/jawsscripts[4] __________  Visit and
contributeto The JAWS Script Repository http://jawsscripts.com[5] View the
list's information and change your settings at
http://www.freelists.org/list/jawsscripts[6] 

--- Links ---
   1 mailto:jeet.invincible@xxxxxxxxx
   2 mailto:jawsscripts@xxxxxxxxxxxxx
   3 http://jawsscripts.com
   4 http://www.freelists.org/list/jawsscripts
   5 http://jawsscripts.com
   6 http://www.freelists.org/list/jawsscripts
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: