网络编程
位置:首页>> 网络编程>> Asp编程>> ASP字符串大写转换成小写 ASP小写转换成大写 ucase lcase

ASP字符串大写转换成小写 ASP小写转换成大写 ucase lcase

 来源:asp之家 发布时间:2011-03-31 10:59:00 

标签:LCase,UCase,字符串大写转换成小写,字符串小写转换成大写

LCase:转成小写
UCase:转成大写
下面是ASP中的代码,可以直接演示效果的。

代码如下:


<% 
dim str,str1,str2 
str="AbCdEf" 
str1=LCase(str) 
str2=UCase(str) 
Response.write("LCase转换小写"&str1 & ",UCase转换大写" & str2) 
%> 

而.NET中将字符串转换为大写ToUpper(),将字符串转换为小写ToLower()。

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com