cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "davide semprini" <semprini_dav...@hotmail.com>
Subject SERIOUS HELP WITH SPLIT METHOD
Date Thu, 21 Dec 2000 11:09:53 GMT
Hi community,
I have a problem with Split Method,

I have a string like: "IsBasedOn Id45"
and I want to split this with Split method into
a string array,
I would like obtain String[1]="IsBasedOn"
and String[2]="Id45"
The problem is that cocoon don't know this method,
My code is:


<xsp:logic>

String IsBasedOn="IsBasedOn";
String IsBasisFor="IsBasisFor";

public String Conv_rel(String stringa) {

<!-- inside I want invoke split method passing variable stringa
and obtain an array string -->


}
</xsp:logic>

In xsp web page I find:
String[] split(String line)

How I can do and use this method?


tanks a lot!

Semprini davide



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message