Tue Jul 31, 2007 3:16 pm
psvm(String SubmitDate)
{
StringBuffer returnQuery = new StringBuffer();
String dateString="";
returnQuery.append("SELECT * FROM ");
returnQuery.append(view);
returnQuery.append(userString);
returnQuery.append(envString);
returnQuery.append(requestidString);
returnQuery.append(statusString);
if((Submitdate==null) || (Submitdate.equals("")))
{
dateString="";
}
else if(returnQuery.indexOf("where")>0)
dateString=" AND SUBMIT_DATE LIKE '"+Submitdate+"%'";
else
dateString=" WHERE SUBMIT_DATE LIKE '"+Submitdate+"%'";
}
Tue Jul 31, 2007 4:42 pm
String name="Tom";
name+="AAA";
name+="aaa";
Thu Aug 02, 2007 8:08 am
public static void main(String[] args) {
StringBuffer mybuff=new StringBuffer("Mohamed Sami");
mybuff.append(" ddd");
System.out.print(mybuff.indexOf("ddd"));
}
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.