Good day!
I have the following java code to get a variable "station" from a Jess fact
using Jess defquery. Inside the station fact, the list looks something like
(S1 S4 S5). Is there a way or method to directly convert it into a java
string array {"S1", "S4", "S5"}
Value m_station= result.get("station");
String [] temp1 = m_station.toString(String[].class);
I have tried using the above code to convert "station" as a string array
into temp1. I read the topic on
JESS: java array + jess RU.LIST by u01jmg3
but I couldnt understand. Sorry if this question has been ask before.
thanks again
best rgds
rick
--
View this message in context:
http://www.nabble.com/Converting-Queryresult-value-into-java-string-array-tf3509509.html#a9802738
Sent from the Jess mailing list archive at Nabble.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]
--------------------------------------------------------------------