Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String functions in VB
Message
 
 
To
27/02/2003 05:11:05
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00758442
Message ID:
00758869
Views:
20
Plamen,

Looks like format function is not supported in VBScript. Could it be?

>1. You can use "+" for strings - I think there's no differences between "+" and "&" for strings. But code with "&" is more readable - when you saw it, you know that this expression returns string.
>2. I never see official documentation how effective is some VB/VBScript function. So you can do your own tests with many CStr's and, for example, Str$'s and see what is the difference.
>3. About Trim() - I prefer safety to speed. If you hard test some function (IN ALL POSSIBLE SITUATIONS) and it never insert spaces, omit Trim(). But often I have no time to these tests...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform