On Mar 30, 2007, at 9:13 AM, merdan munir wrote:

Hi,

How can I extract multiple integer values from the following slots (date
"[EMAIL PROTECTED] 2007-03-30") or (time "[EMAIL PROTECTED] 10:21:42")?
I would like to use these integer values as slots like (first case): year slot, month slot and day slot; or (second case): hour slot, minute slot and
second slot.

You could use Java's java.util.regex classes directly from Jess to split up the text.



---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to