vb.net trim 和vb trim 的区别代码大致declare function GetPrivateProfileString lib kernel32 alias
vb.net trim 和vb trim 的区别
代码大致
declare function GetPrivateProfileString lib "kernel32" alias "GetPrivateProfileStringA" (a as string,b as string,c as string,d as string,e as integer, f as string) as integer
buff = len(300)
call GetPrivateProfileString(a,b,"",buff,d,e)
len(trim(buff))
vb 字符串的实际长度
vb.net 301
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724353(v=vs.85).aspx
[最优解释]
VB6的trim是函数
VB.NET的trim是方法
我记忆中:
VB6的trim只能去掉头尾空格
VB.NET的trim能去掉头尾空白字符
[其他解释]
VB的Trim只能去空格。
VB.NET的可以去指定的字符,比如'\0'
[其他解释]
该回复于2012-10-29 11:18:08被版主删除
[其他解释]
http://hi.baidu.com/redtramp/item/cfc4c4c37aa9782def46652e
[其他解释]
我一直以为没区别的
