Hi All,
Am trying to get through CDF function that replaces string that is parameter to it with another string and return it to the rule.
the java code i tried is
import java.io.*;
public class ReplaceString{
public static void main(String[] args){
String str=args[0];
replace(str);
}
static String replace(String str)
{
String str1 = str.replace("CC_AA_INT","CC_BB_INT");
return str1;
}
}
I dont know how we call a method without a object.
Could someone guide me on this please.. If i have test this independently as a java program , how do i execute it incase if i dnt have main method ?
Am sure i can get someone help, becasue of why this forum has become very famous.
Thanks
Amith