vb中的format和format$有什么区别??

简介:
vb中的format和format$有什么区别??
2008-9-18 11:59
提问者: shelley_yaya  |  浏览次数:1150次
我来帮他解答
2008-9-18 13:55
满意回答
format$明确表示结果为String类型
format结果是变体类型
一般来说加上$速度可以更快一点,实际上较短的字符串运算情况下,没有什么区别。


      如需转载请自行联系原作者      
相关文章
|
3月前
DATE_FORMAT函数使用
DATE_FORMAT函数使用
176 0
|
数据采集 Python
'str' object has no attribute 'get' 错误解决方案
'str' object has no attribute 'get' 错误解决方案
|
SQL
format函数
format函数
103 0
|
PHP
php保留小数点3种方法,number_format,round和sprintf区分
php保留小数点3种方法,number_format,round和sprintf区分
197 0
|
开发者 Python
字符串的 format 方法|学习笔记
快速学习字符串的 format 方法
99 0
|
JSON 数据格式 Python
python编程:json indent can't multiply sequence by non-int of type 'str'
python编程:json indent can't multiply sequence by non-int of type 'str'
109 0
|
Python
Python 空字符串转化问题:ValueError: invalid literal for int() with base 10: ' ',原因及解决方法。
Python 空字符串转化问题:ValueError: invalid literal for int() with base 10: ' ',原因及解决方法。
2365 0
【转载】format的用法。
以前没太注意这个用法,到网上找一个,copy过来,方便以后的查看。   "I see stuff like {0,-8:G2} passed in as a format string. What exactly does that do?" -- Very Confused String Fo...
874 0