Scripting Home > Code Snippets > Constants

String Constants

Description

These string constants define some control strings such as newlines, tabs and carriage returns.

<%font_body%>Constant<%font_body%>Value<%font_body%>Description
<%font_body%>vbCr<%font_body%>Chr(13)<%font_body%>Carriage return
<%font_body%>vbCrLf<%font_body%>Chr(13) & Chr(10)<%font_body%>Carriage return and linefeed combination
<%font_body%>vbFormFeed<%font_body%>Chr(12)<%font_body%>Form feed
<%font_body%>vbLf<%font_body%>Chr(10)<%font_body%>Line feed
<%font_body%>vbNewLine<%font_body%>Chr(13) & Chr(10) or Chr(10)<%font_body%>Platform-specific newline character
<%font_body%>vbNullChar<%font_body%>Chr(0)<%font_body%>Null Character
<%font_body%>vbNullString<%font_body%>Null String<%font_body%>Null String - Not the same as a zero-length string ("")
<%font_body%>vbTab<%font_body%>Chr(9)<%font_body%>Horizontal tab
<%font_body%>vbVerticalTab<%font_body%>Chr(11)<%font_body%>Vertical tab