This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!
Informatica Java Transformation for replacing spaces in a string
I'm trying to implement a Java transformation in Informatica which has to do a simple task of replacing all the Spaces in an array of strings.
I've tried the following:
OriginalArray[i] = OriginalArray[i].replace("\s","");
OriginalArray[i] = OriginalArray[i].replaceAll("\s","");
but none of them replace the spaces. Kindly assist me here.