从一个字符串返回特定的字符

代码:

<!DOCTYPE html>

<html>

<body>

 

<%

sometext="Welcome to this Web"

response.write(Left(sometext,5))

response.write("<br>")

response.write(Right(sometext,5))

%>

 

</body>

</html>

结果:

Welco
s Web

相关文章