Script question
All  1-16  17-18

Previous
Next
 From:  Michael Gibson
12047.17 In reply to 12047.16 
Hi Frederick,

re:
> The != below IS case sensitive

Yes, for example if you run this script:

moi.ui.alert( 'test' != 'Test' );

result is: 'true'


> The function below IS NOT case sensitive
>
> vp.reverseView( vname )

Yup.


> So is there a function to compare two strings that is not case sensitive OR has
> an additional parameter that chooses between being case sensitive or not?

There is. Try doing a web search for "javascript string compare ignore case", there is a whole lot of information online about Javascript language functions.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  fcwilt
12047.18 In reply to 12047.17 
Hi Michael,

You are the best.

Frederick
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-16  17-18