将一个英文句子每个单词的首字母变成大写,VB?
来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/11/06 04:07:19
将一个英文句子每个单词的首字母变成大写,VB?
EG:I am a teacher.
明天考试急用!
EG:I am a teacher.
明天考试急用!
Dim JZ As String
JZ = "As long as there is a reasonable possibility,we will ask you to provide personal information to you the right to choose.You can serve in the specific privacy statement or the FAQ to find out more about your right to choose the information."
TT = Split(JZ)
JZ = ""
For i = 0 To UBound(TT)
If Len(JZ) = 0 Then
JZ = UCase(Left(TT(i),1)) & Mid(TT(i),2)
Else
JZ = JZ & " " & UCase(Left(TT(i),1)) & Mid(TT(i),2)
End If
Next
MsgBox JZ
JZ = "As long as there is a reasonable possibility,we will ask you to provide personal information to you the right to choose.You can serve in the specific privacy statement or the FAQ to find out more about your right to choose the information."
TT = Split(JZ)
JZ = ""
For i = 0 To UBound(TT)
If Len(JZ) = 0 Then
JZ = UCase(Left(TT(i),1)) & Mid(TT(i),2)
Else
JZ = JZ & " " & UCase(Left(TT(i),1)) & Mid(TT(i),2)
End If
Next
MsgBox JZ
将一个英文句子每个单词的首字母变成大写,VB?
编程实现:输入一个英文句子,将句子中每个单词的首字母大写后输出.
输入一个英文句子,将句子中每个单词的首字母大写后输出.
/*在主函数中输入一个英文句子,编写函数将其中每个单词的首字母变成大写,最后在主函数中输出结果*/
vb编程题~输入一段英文短文,将其中每个单词的首字母改为大写,若有两个或两个以上的连续空格……
Word2003中,怎么将段落英文的各个单词的首字母变成大写,知道的来分享下,谢谢啦!
输入一个英语句子,输出句子中每个单词的首字母(大写),应该怎样做啊?(c++程序)
(C语言编程)输入一个英文句子,将每个英文单词的头字母变为大写,单词之间用空格隔开
英文题目必须大写?请教大家:英语作文题目每个单词的字母都必须大写(包括所有实词和虚词?)?还是只大写每个单词首字母(虚词
用C编程:输入一个英文句子(小写字符串),将其中每个单词的首字母改成大字母,然后输出此句子.谢谢…
关于写英文电子邮件写邮件中第二行的“主题”是否每个单词首字母大写
从键盘输入一行英文句子,将每个单词的首字母换成大写字母,然后输出到一个磁盘文件“test”中保存