be used to doing和used to do的区别
例句:I used to cut fruit with the knife which is used to cut meat, so now I am used to eating fruit with the flavor of meat.
直译:我过去常常用切肉的刀来切水果,所以现在我习惯于吃带肉味的水果了解析:1.used to do sth.表示“过去常常做某事”变否定句既可以在used的前方加didn't,也可以在used后方加not.
I used to be short, but now I am tall.
我过去很矮,但是现在很高。
He used to be afraid of dark, didn't he? / usedn't he?
他过去很怕黑,不是吗?
be used to do sth.表示“被用来做某事”,这是一个完整的被动语态形式。to do可以用介词for来替换,be used for sth.
Knives are used to cut fruit.
刀用来切水果。
Knives are used for cutting.
刀用来切东西。
be used to doing sth.表示“习惯于做某事”,此处的to是一个介词,介词后一律加动词的ing形式。
I am used to walking along the river after dinner.
我习惯于饭后沿着河边走一走。
PS:常见的to是介词的短语。
be accustomed to doing
devote oneself to doing
look forward to doing
pay attention to doing
prefer doing to doing。
循环字符串的每一个字符,判断是否为汉字,是的话占长度2,否则占长度1
取:left(str,长度)
这样你总会了吧
if abs(asc(whichChar))>127 then
Response.write whichChar & "是一个汉字"
else
Response.write whichChar & "不是一个汉字"
end if
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!