cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "davide semprini" <>
Subject Help with Split method
Date Wed, 20 Dec 2000 11:04:24 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:


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 -->


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

View raw message