正在加载图片...
m程序设计 删除字符串首、尾空格函数: ALLTRIM<字符表达式) TRIMO LTRIMO 【例87 STORE“Good” TOstr1 STORE" Morning” TO str2 Str1+str2, str1+LTRIM(str2) Good Morning GoodMorning 空格函数: SPACE(<数值表达式>) 串长度函数:LEN<字符表达式>) 【例】 store space(8) to name LEN(name) FoxproForWindowshttp://cc.synu.edu.cn 10FoxPro For Windows http://cc.synu.edu.cn 10 FoxPro程序设计 删除字符串首、尾空格函数: ALLTRIM(<字符表达式>) TRIM() LTRIM() 【例8.7】 STORE “Good” TO str1 STORE “ Morning.” TO str2 ? Str1+str2,str1+LTRIM(str2) Good Morning. GoodMorning. 空格函数:SPACE(<数值表达式>) 串长度函数:LEN(<字符表达式>) 【例】 store space(8) to name ? LEN(name)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有