Search the web
Sign In
New User? Sign Up
xrules · XRules & DynamicDOM
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How do I ...?   Message List  
Reply | Forward Message #42 of 74 |
Rather than start a new topic each time, I figure one topic with a
dialog might prevent cluttering up the main page with lots of topics.

Naturally, the list owners can decide otherwise.

I'll start with a simple one: I want to do a substring check.

Does calculate allow for substring checks? In my case, I want to
check the first 4 characters of a value against a known value, and
have the result be basically "true" or "false".

More generically, does calculate allow non-numeric (i.e. string)
operations like substring and concatenation? If not, would that be a
good addition?

Thanks.







Wed Sep 20, 2006 5:59 am

johnbrockus
Offline Offline
Send Email Send Email

Forward
Message #42 of 74 |
Expand Messages Author Sort by Date

Rather than start a new topic each time, I figure one topic with a dialog might prevent cluttering up the main page with lots of topics. Naturally, the list...
johnbrockus
Offline Send Email
Sep 20, 2006
6:09 am

Sure, you can do string operations with the <calculate> rule. It's not limited to numeric operations. In fact, all the rules in XRules use XPath as the...
Waleed K. Abdulla
waleed_ka
Offline Send Email
Sep 21, 2006
2:54 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help