<%
String mystr="ballack";
out.print(mystr.substring(1,4));
%>
String mystr="ballack";
out.print(mystr.substring(1,4));
%>
解决方案 »
- 做一个站内搜索遇到一个小问题,求解(关于radio的)
- myeclipse6.0自动关闭
- 错误信息
- 求portal门户开发的入门教程
- 各位大侠!我想判断当前用户是否在default.jsp页上,请问怎么判断~
- 菜鸟问题 高手也进 tomcat5.0和tomcat4.1 不兼容问题 有谁知道??
- java的毕业设计做点什么,推荐一些
- 请教一个出错!
- 如何在Redhat7.2下用系统的apache+Tomcat4进行配置
- 超级新手问题,望大家赐教!(在线等)
- 各位高手,给个思路?页面上有个<a href="#">Click Here</a> ,当我一点连接的时候,需要写一条记录到数据库,记录查看日志,表示用户看过
- 关于下拉列表框,急!
从第m位取n位
Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. Thus the length of the substring is endIndex-beginIndex. Examples: "hamburger".substring(4, 8) returns "urge"
"smiles".substring(1, 5) returns "mile"
应该加上哪个CLASS ?
注意是substring, 而不是subString