I am not sure it is a bug,but you guys run following code please.
-------------------------------------------------------------------------------------------------------------------
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
public class Test implements EntryPoint
{
public void onModuleLoad()
{
String str="01234";
Window.alert(str.substring(0, 4));
Window.alert(Integer.toString(str.length()));
Window.alert(str.substring(0, str.length()));
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---