Saturday 7 January 2017

VBScripts Fundamentals - Part1


Using concatenate, "&_" and "vbcrlf" in VB Script

Watch Video
 
Prerequisite:
http://automation-home.blogspot.in/2017/01/vb-script-basic-example.html
 
Using concatenate, "&_" and "vbcrlf" in VB Script
- Concatenate using plus sign(+) and ampersand (&).

- String in multiple lines using "&_" and ''+_''.
   ex: Sql query as string

- To print in different lines use "vbcrlf" (it is like '\n').
    ex: "Hello welcome" --> "Hello" &vbcrlf& "welcome"
    References: http://powerasp.net/content/new/vbscript-constants.asp 
                        http://www.asciitable.com/

No comments:

Post a Comment