c# 求提供思路,我str1“i want to eat an apple” str2"i want eat apple"用什么方法可以识别出str2少了to 和an两个单词

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/27 08:08:21
c# 求提供思路,我str1“i want to eat an apple” str2
x)KVVxY'f?kbzgK 5T(O+Q(WHM,QHSH,(I}0WH * I(=';;Mlԧ^b}ӎOw<0ɮ6O'$=ٱɎUO{XkT?0یIv6-J2A*a]Rl1݄9?8?'U/($'3/UdOj^zI&~ F&xVj@U<_ɎG_Ntײg3%v%Bfz0z醍z:a~qAb(_Po

c# 求提供思路,我str1“i want to eat an apple” str2"i want eat apple"用什么方法可以识别出str2少了to 和an两个单词
c# 求提供思路,我str1“i want to eat an apple” str2"i want eat apple"用什么方法可以识别出str2少了
to 和an两个单词

c# 求提供思路,我str1“i want to eat an apple” str2"i want eat apple"用什么方法可以识别出str2少了to 和an两个单词
string str1="i want to eat an apple";
string str2="i want eat apple";
Console.WriteLine(str1.Length);
Console.Write(str2.Length);
Console.ReadKey();
第一个长度是22
第二个是16.
str2不就少了吗?