.NET自由天空
Would you like to react to this message? Create an account in a few clicks or log in to continue.

实训项目要求(最新)

向下

实训项目要求(最新) Empty 实训项目要求(最新)

帖子  Admin 周二 四月 08, 2008 7:09 pm

1.熟悉下列String类的属性和方法
s.chars(i)
s.copy(i)
s.EndsWith("a")
s.Equals(s1)
s.Indexof("a")
s.Insert(i,"a")
s.Length
s.Replace("a","b")
s.spilt("a")
s.startwith("a")
s.SubString(i,j)
s.ToUpper()
s.ToLower()
以字符串“Olympic Game"为例子
2.熟悉下列字符串处理函数的使用
StrComp(Str1,Str2,[CompareStyle])
StrConv(str,conversion,[localelID])
InStrRev(StrCheck,StrMatch,[start],[Compare])
StrReverse(str)
StrDup(number,character)
Ltrim(string)
Rtrim(string)
Mid(string,start,length)
Left(string,length)
Right(string,length)
InStr(string1,string2[, compare])
要求:对上述String类的属性或方法与字符串处理函数做出说明
格式:
Replace(str,str1,str2<,stare>,<count,><compare>) '字符串替换函数,将字符串str中的str1替换为str2
发到邮箱:nettech07@163.com
3.练习Inputbox函数、MsgBox函数和MessageBox类的使用

Admin
Admin

帖子数 : 7
注册日期 : 08-03-14

http://nettech.longluntan.cn

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题