Hi I have used string.replaceAll() in rad. when I am trying to put that code in wsad5.1.0 it's showing error in the place where I have used string.replaceAll() . What might be the reason for this. Please give me the reply thanks, Ranga
Thanks,<br />Ranga.<br />Life is precious so enjoy the life each moment and utilise it at the same time.
replaceAll was new in 1.4. Any chance you're running an older JVM in WSAD? I am.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
On my very first Java project I wrote my own replaceAll that uses indexOf and substrings and loops until the old value is no longer found. It's slightly tricky to keep track of starting position when searcing for the old value, cause the first version of "replace A with AB" looped forever.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
a bit of art, as a gift, that will fit in a stocking