Show / Hide Table of Contents

Class SpecialStrings

This class defines special purpose strings that are either difficult to get right in the first place, or display ambiguously in text editors and printed source code listings.

Since static classes are implicitly sealed, this class cannot be inherited.

Inheritance
System.Object
SpecialStrings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: WizardWrx
Assembly: WizardWrx.Common.dll
Syntax
public static class SpecialStrings
Remarks

For ease of access, I promoted the classes that expose only constants to the root of the WizardWrx namespace.

Fields

| Improve this Doc View Source

AMPERSAND

Use this when you need to remove or replace ampersand literals in a string.

Declaration
public const string AMPERSAND = "&"
Field Value
Type Description
System.String
See Also
AMPERSAND
| Improve this Doc View Source

ASP_APP_DIR_DEFAULT_START_PAGE

A URI that ends with a forward slash calls forth this specially named page.

Declaration
public const string ASP_APP_DIR_DEFAULT_START_PAGE = "default.aspx"
Field Value
Type Description
System.String
See Also
ASP_APP_START_PAGE_KEY
ASP_RELATIVE_PATH_BEGIN
ASP_REL_EXEC_PATH_PREFIX
| Improve this Doc View Source

ASP_APP_START_PAGE_KEY

Key, in web.config, that contains the name of the application's start (home) page.

Declaration
public const string ASP_APP_START_PAGE_KEY = "StartPagePath"
Field Value
Type Description
System.String
See Also
ASP_APP_DIR_DEFAULT_START_PAGE
ASP_RELATIVE_PATH_BEGIN
ASP_REL_EXEC_PATH_PREFIX
| Improve this Doc View Source

ASP_REL_EXEC_PATH_PREFIX

Relative path strings returned by the Request object begin with one of these.

Declaration
public const string ASP_REL_EXEC_PATH_PREFIX = "~/"
Field Value
Type Description
System.String
See Also
ASP_APP_DIR_DEFAULT_START_PAGE
ASP_APP_START_PAGE_KEY
ASP_RELATIVE_PATH_BEGIN
| Improve this Doc View Source

ASP_RELATIVE_PATH_BEGIN

Relative path strings returned by the Request object begin with one of these.

Declaration
public const string ASP_RELATIVE_PATH_BEGIN = "~/"
Field Value
Type Description
System.String
See Also
ASP_APP_DIR_DEFAULT_START_PAGE
ASP_APP_START_PAGE_KEY
ASP_REL_EXEC_PATH_PREFIX
| Improve this Doc View Source

ASTERISK

Asterisks are everywhere; use this constant to make asterisks that are intended to be treated as characters unambiguous.

Declaration
public const string ASTERISK = "*"
Field Value
Type Description
System.String
See Also
AMPERSAND
COLON
HASH_TAG
PERCENT_SIGN
PIPE_CHAR
SEMICOLON
TAB_CHAR
UNDERSCORE_CHAR
| Improve this Doc View Source

ASTERISK_CHAR

Both ASTERISK_CHAR and ASTERISK resolve to the same character.

Declaration
public const string ASTERISK_CHAR = "*"
Field Value
Type Description
System.String
See Also
AMPERSAND
COLON
HASH_TAG
PERCENT_SIGN
PIPE_CHAR
SEMICOLON
TAB_CHAR
UNDERSCORE_CHAR
| Improve this Doc View Source

AT_CHAR

Use this when your code requires a string composed of a single AT character literal, and you want the listing to be crystal clear about what it is.

Declaration
public const string AT_CHAR = "@"
Field Value
Type Description
System.String
See Also
AT_CHAR
| Improve this Doc View Source

AT_SIGN

Both AT_SIGH and AT_CHAR resolve to the same character.

Declaration
public const string AT_SIGN = "@"
Field Value
Type Description
System.String
Remarks

The '@' character has many uses in computing circles, mostly obscure ones, such as their use in many command line tools to denote that a specified file is not, itself, the object of interest, but is a list of files or other entities that are.

See Also
AMPERSAND
COLON
HASH_TAG
PERCENT_SIGN
PIPE_CHAR
SEMICOLON
TAB_CHAR
UNDERSCORE_CHAR
| Improve this Doc View Source

BACK2BACK_NEWLINES

Substitute this string for Environment.NewLine in formatted strings that were designed for output as console messages when you want or need to return them as long strings. The effect is the same as using Console.WriteLine in place of StringBuilder.AppendFormat.

Declaration
public const string BACK2BACK_NEWLINES = "\r\n\r\n"
Field Value
Type Description
System.String
| Improve this Doc View Source

BRACE_LEFT

Use this in your code to specify a left French brace, also called a left brace or opening brace, as a character literal.

Declaration
public const string BRACE_LEFT = "{"
Field Value
Type Description
System.String
Remarks

In addition to implementing DLM_FORMAT_ITEM_BEGIN for a specific use case, I implemented the generic use case and its twin, BRACE_RIGHT.

See Also
BRACE_RIGHT
| Improve this Doc View Source

BRACE_RIGHT

Use this in your code to specify a right French brace, also called a right brace or closing brace, as a character literal.

Declaration
public const string BRACE_RIGHT = "}"
Field Value
Type Description
System.String
See Also
BRACE_LEFT
| Improve this Doc View Source

BRACKET_LEFT

Use this in your code to specify a left square bracket, also called an opening bracket, as a character literal.

Declaration
public const string BRACKET_LEFT = "["
Field Value
Type Description
System.String
See Also
BRACKET_RIGHT
BRACE_LEFT
| Improve this Doc View Source

BRACKET_RIGHT

Use this in your code to specify a right square bracket, also called a closing bracket, as a character literal.

Declaration
public const string BRACKET_RIGHT = "]"
Field Value
Type Description
System.String
See Also
BRACKET_LEFT
BRACE_RIGHT
| Improve this Doc View Source

CARRIAGE_RETURN

Use this character anywhere in your code that requires a bare carriage return character.

Declaration
public const string CARRIAGE_RETURN = "\\r"
Field Value
Type Description
System.String
See Also
LINEFEED
STRING_SPLIT_CARRIAGE_RETURN
STRING_SPLIT_LINEFEED
STRING_SPLIT_NEWLINE
| Improve this Doc View Source

CHAR_LC_I

Lower case I, for use in code, where it might be easily mistaken for a number 1 or a letter L.

Declaration
public const string CHAR_LC_I = "i"
Field Value
Type Description
System.String
| Improve this Doc View Source

CHAR_LC_L

Lower case L, for use in code, where it might be easily mistaken for a number 1 or a letter I.

Declaration
public const string CHAR_LC_L = "l"
Field Value
Type Description
System.String
See Also
CHAR_UC_I
CHAR_NUMERAL_1
| Improve this Doc View Source

CHAR_LC_O

Lower case O, for use in code where it might be easily mistaken for a number zero.

Declaration
public const string CHAR_LC_O = "o"
Field Value
Type Description
System.String
See Also
CHAR_LC_O
CHAR_UC_O
CHAR_NUMERAL_0
| Improve this Doc View Source

CHAR_LC_Z

Lower case Z, for use in code where it might be easily mistaken for a numeric character 2 or 7.

Declaration
public const string CHAR_LC_Z = "z"
Field Value
Type Description
System.String
See Also
CHAR_UC_Z
CHAR_NUMERAL_2
CHAR_NUMERAL_7
| Improve this Doc View Source

CHAR_NUMERAL_0

Numeric character 0, for use in code where it might be mistaken for a letter O.

Declaration
public const string CHAR_NUMERAL_0 = "0"
Field Value
Type Description
System.String
See Also
CHAR_LC_O
CHAR_UC_O
| Improve this Doc View Source

CHAR_NUMERAL_1

Numeric character 1, for use in code where it might be mistaken for a lower case l or an upper case I.

Declaration
public const string CHAR_NUMERAL_1 = "1"
Field Value
Type Description
System.String
See Also
CHAR_UC_I
CHAR_LC_L
| Improve this Doc View Source

CHAR_NUMERAL_2

Numeric character 2, for use in code where it might be mistaken for a letter Z or a numeral 7.

Declaration
public const string CHAR_NUMERAL_2 = "2"
Field Value
Type Description
System.String
See Also
CHAR_LC_Z
CHAR_UC_Z
CHAR_NUMERAL_7
| Improve this Doc View Source

CHAR_NUMERAL_7

Numeric character 2, for use in code where it might be mistaken for a letter Z or a numeral 7.

Declaration
public const string CHAR_NUMERAL_7 = "7"
Field Value
Type Description
System.String
See Also
CHAR_LC_Z
CHAR_UC_Z
CHAR_NUMERAL_2
| Improve this Doc View Source

CHAR_UC_I

Upper case I, for use in code, where it might be easily mistaken for a number 1 or a letter L.

Declaration
public const string CHAR_UC_I = "I"
Field Value
Type Description
System.String
See Also
CHAR_LC_L
CHAR_NUMERAL_1
| Improve this Doc View Source

CHAR_UC_L

Upper case L, for use in code, where it might be easily mistaken for a number 1 or a letter I.

Declaration
public const string CHAR_UC_L = "L"
Field Value
Type Description
System.String
See Also
CHAR_LC_L
CHAR_NUMERAL_1
| Improve this Doc View Source

CHAR_UC_O

Upper case O, for use in code where it might be easily mistaken for a number zero.

Declaration
public const string CHAR_UC_O = "O"
Field Value
Type Description
System.String
See Also
CHAR_LC_O
CHAR_UC_O
CHAR_NUMERAL_0
| Improve this Doc View Source

CHAR_UC_Z

Upper case Z, for use in code where it might be easily mistaken for a numeric character 2 or 7.

Declaration
public const string CHAR_UC_Z = "Z"
Field Value
Type Description
System.String
See Also
CHAR_LC_Z
CHAR_NUMERAL_2
CHAR_NUMERAL_7
| Improve this Doc View Source

CHECK_MARK_CHAR

The check-mark character prints as such only in selected Windows fonts.

Declaration
public const string CHECK_MARK_CHAR = "û"
Field Value
Type Description
System.String
| Improve this Doc View Source

COLON

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string COLON = ":"
Field Value
Type Description
System.String
See Also
COLON
| Improve this Doc View Source

COMMA

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string COMMA = ","
Field Value
Type Description
System.String
See Also
COMMA
| Improve this Doc View Source

CSV_ESCAPED_DOUBLE_QUOTE

Use this as the second of two argument so the Replace method on a String, along with DOUBLE_QUOTE as tthe first argument, when the double quotation mark must be embeddded in the value of a field in a CSV file.

Declaration
public const string CSV_ESCAPED_DOUBLE_QUOTE = "\"\""
Field Value
Type Description
System.String
| Improve this Doc View Source

DOUBLE_QUOTE

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string DOUBLE_QUOTE = "\""
Field Value
Type Description
System.String
See Also
DOUBLE_QUOTE
| Improve this Doc View Source

DOUBLE_SPACE

Overlooked constant - two consecutive spaces.

Declaration
public const string DOUBLE_SPACE = "  "
Field Value
Type Description
System.String
| Improve this Doc View Source

EMBEDDED_TAB

Tab characters, as they must be entered into resource (.RESX) strings.

Declaration
public const string EMBEDDED_TAB = "\\t"
Field Value
Type Description
System.String
| Improve this Doc View Source

EMPTY_STRING

I like having a way to initialize a constant to the empty string.

Declaration
public const string EMPTY_STRING = ""
Field Value
Type Description
System.String
See Also
ARRAY_FIRST_ELEMENT
ARRAY_IS_EMPTY
ARRAY_INVALID_INDEX
ARRAY_SECOND_ELEMENT
INDEX_FROM_ORDINAL
NEXT_INDEX
ORDINAL_FROM_INDEX
EMPTY_STRING_LENGTH
| Improve this Doc View Source

EQUALS_SIGN

Use this constant when your code requires a literal equals sign.

Declaration
public const string EQUALS_SIGN = "="
Field Value
Type Description
System.String
See Also
HYPHEN
HASH_TAG
UNDERSCORE_CHAR
| Improve this Doc View Source

ERRMSG_SUCCESS_PLACEHOLDER

Since ErrorExit is never invoked for ERROR_SUCCESS, and the table of error messages is indexed by status code, this string holds its spot in the table of error messages, but is never rendered. Hence, it can be kept out of the managed string resources for applications. This string is publicly accessible through a static method exported by this library, ExceptionLogger.GetSpecifiedReservedErrorMessage.

Declaration
public const string ERRMSG_SUCCESS_PLACEHOLDER = "ERROR_SUCCESS Placeholder"
Field Value
Type Description
System.String
Remarks

A related managed string resource, ERRMSG_SUCCESS, is available for public consumption; use it in lieu of this string for I18N.

Two other strings, ERRMSG_RUNTIME and ERRMSG_INVALID_COMMAND_LINE, are also defined in this assembly.

See Also
ERROR_RUNTIME
| Improve this Doc View Source

FULL_STOP

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string FULL_STOP = "."
Field Value
Type Description
System.String
See Also
FULL_STOP
| Improve this Doc View Source

HASH_TAG

Use this constant to specify a hash-tag literal character

Declaration
public const string HASH_TAG = "#"
Field Value
Type Description
System.String
| Improve this Doc View Source

HTML_COMMENT_PREFIX

Minimal HTML (and XML) comment prefix string.

Declaration
public const string HTML_COMMENT_PREFIX = "<!--"
Field Value
Type Description
System.String
See Also
HTML_COMMENT_PREFIX_SP
HTML_COMMENT_SUFFIX
HTML_COMMENT_SUFFIX_SP
| Improve this Doc View Source

HTML_COMMENT_PREFIX_SP

HTML (and XML) comment prefix string, followed by a single space.

Declaration
public const string HTML_COMMENT_PREFIX_SP = "<!-- "
Field Value
Type Description
System.String
See Also
HTML_COMMENT_PREFIX
HTML_COMMENT_SUFFIX
HTML_COMMENT_SUFFIX_SP
| Improve this Doc View Source

HTML_COMMENT_SUFFIX

Minimal HTML (and XML) comment suffix string.

Declaration
public const string HTML_COMMENT_SUFFIX = "-->"
Field Value
Type Description
System.String
See Also
HTML_COMMENT_PREFIX
HTML_COMMENT_PREFIX_SP
HTML_COMMENT_SUFFIX_SP
| Improve this Doc View Source

HTML_COMMENT_SUFFIX_SP

HTML (and XML) comment suffix string, preceded by a single space.

Declaration
public const string HTML_COMMENT_SUFFIX_SP = " -->"
Field Value
Type Description
System.String
See Also
HTML_COMMENT_PREFIX
HTML_COMMENT_PREFIX_SP
HTML_COMMENT_SUFFIX
| Improve this Doc View Source

HTML_LINE_BREAK_LC

HTML line break (Break) tag, rendered as lower case characters.

Declaration
public const string HTML_LINE_BREAK_LC = "<br>"
Field Value
Type Description
System.String
See Also
HTML_LINE_BREAK_UC
| Improve this Doc View Source

HTML_LINE_BREAK_UC

HTML line break (Break) tag, rendered as upper case characters

Declaration
public const string HTML_LINE_BREAK_UC = "<BR>"
Field Value
Type Description
System.String
See Also
HTML_LINE_BREAK_LC
| Improve this Doc View Source

HTML_NOLBREAKING_SPACE_UC

HTML nonbreaking space entity, rendered as upper case characters.

Declaration
public const string HTML_NOLBREAKING_SPACE_UC = "&NBSP;"
Field Value
Type Description
System.String
| Improve this Doc View Source

HTML_NONBREAKING_SPACE

Web Developers are always needing a non-breaking space, for use as filler, especially in dynamically generated tables.

Declaration
public const string HTML_NONBREAKING_SPACE = "&nbsp;"
Field Value
Type Description
System.String
See Also
HTML_NONBREAKING_SPACE_LC
HTML_NOLBREAKING_SPACE_UC
| Improve this Doc View Source

HTML_NONBREAKING_SPACE_LC

HTML nonbreaking space entity, rendered as lower case characters.

Declaration
public const string HTML_NONBREAKING_SPACE_LC = "&nbsp;"
Field Value
Type Description
System.String
| Improve this Doc View Source

HTML_PARAGRAPH_CLOSE_TAG_LC

HTML paragraph closing tag, rendered as lower case characters.

Declaration
public const string HTML_PARAGRAPH_CLOSE_TAG_LC = "</p>"
Field Value
Type Description
System.String
See Also
HTML_PARAGRAPH_CLOSE_TAG_UC
HTML_PARAGRAPH_OPEN_TAG_LC
HTML_PARAGRAPH_OPEN_TAG_UC
| Improve this Doc View Source

HTML_PARAGRAPH_CLOSE_TAG_UC

HTML paragraph closing tag, rendered as upper case characters.

Declaration
public const string HTML_PARAGRAPH_CLOSE_TAG_UC = "</P>"
Field Value
Type Description
System.String
See Also
HTML_PARAGRAPH_CLOSE_TAG_LC
HTML_PARAGRAPH_OPEN_TAG_LC
HTML_PARAGRAPH_OPEN_TAG_UC
| Improve this Doc View Source

HTML_PARAGRAPH_OPEN_TAG_LC

HTML paragraph opening tag, rendered as lower case characters.

Declaration
public const string HTML_PARAGRAPH_OPEN_TAG_LC = "<p>"
Field Value
Type Description
System.String
See Also
HTML_PARAGRAPH_OPEN_TAG_UC
HTML_PARAGRAPH_CLOSE_TAG_LC
HTML_PARAGRAPH_CLOSE_TAG_UC
| Improve this Doc View Source

HTML_PARAGRAPH_OPEN_TAG_UC

HTML paragraph opening tag, rendered as upper case characters.

Declaration
public const string HTML_PARAGRAPH_OPEN_TAG_UC = "<P>"
Field Value
Type Description
System.String
See Also
HTML_PARAGRAPH_OPEN_TAG_LC
HTML_PARAGRAPH_CLOSE_TAG_LC
HTML_PARAGRAPH_CLOSE_TAG_UC
| Improve this Doc View Source

HYPHEN

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string HYPHEN = "-"
Field Value
Type Description
System.String
See Also
HYPHEN
| Improve this Doc View Source

LAST_ASCII_CHAR

The highest integer that can represent any ASCII character is 255, which is all 8 bits turned ON.

Declaration
public const string LAST_ASCII_CHAR = "ÿ"
Field Value
Type Description
System.String
| Improve this Doc View Source

LINEFEED

Use this character anywhere in your code that requires a bare linefeed character.

Declaration
public const string LINEFEED = "\n"
Field Value
Type Description
System.String
See Also
STRING_SPLIT_NEWLINE
STRING_SPLIT_CARRIAGE_RETURN
STRING_SPLIT_LINEFEED
| Improve this Doc View Source

LOCALHOST

The DNS name of the local loop-back is always "localhost".

Declaration
public const string LOCALHOST = "localhost"
Field Value
Type Description
System.String
| Improve this Doc View Source

LOCALHOST_IP_ADDR

The local loop-back has the reserved IP address of 127.0.0.1.

Declaration
public const string LOCALHOST_IP_ADDR = "127.0.0.1"
Field Value
Type Description
System.String
| Improve this Doc View Source

LOGICAL_NEGATE

Thanks to a suggestion from my esteemed colleague Bud Pass, this is my new preferred field delimiter character. It supersedes my favorite for many years, PIPE_CHAR.

Declaration
public const string LOGICAL_NEGATE = "¬"
Field Value
Type Description
System.String
See Also
PIPE_CHAR
LOGICAL_NEGATE
| Improve this Doc View Source

NONBREAKING_SPACE_CHAR

The non-breaking space character doesn't print; although the Unicode encoding treats it as a white space character, most other encodings, including both Unicode and US-ASCII, do not.

Declaration
public const string NONBREAKING_SPACE_CHAR = " "
Field Value
Type Description
System.String
| Improve this Doc View Source

OUTPUT_TAB

Tab characters, as they must appear in the string before it can be used.

Declaration
public const string OUTPUT_TAB = "\t"
Field Value
Type Description
System.String
| Improve this Doc View Source

PARENTHESIS_LEFT

Use this in your code to specify a left parenthesis, also called an opening parenthesis, as a character literal.

Declaration
public const string PARENTHESIS_LEFT = "("
Field Value
Type Description
System.String
See Also
PARENTHESIS_RIGHT
BRACE_LEFT
BRACKET_LEFT
| Improve this Doc View Source

PARENTHESIS_RIGHT

Use this in your code to specify a right parenthesis, also called a closing parenthesis, as a character literal.

Declaration
public const string PARENTHESIS_RIGHT = ")"
Field Value
Type Description
System.String
See Also
PARENTHESIS_LEFT
BRACE_RIGHT
BRACKET_RIGHT
| Improve this Doc View Source

PERCENT_SIGN

Use this when you need to remove or replace ampersand literals in a string.

Declaration
public const string PERCENT_SIGN = "%"
Field Value
Type Description
System.String
See Also
PERCENT_SIGN
| Improve this Doc View Source

PIPE_CHAR

How have I got on this long without my faithful field separator?

Declaration
public const string PIPE_CHAR = "|"
Field Value
Type Description
System.String
See Also
AMPERSAND
COLON
COMMA
HASH_TAG
LOGICAL_NEGATE
PERCENT_SIGN
SEMICOLON
TAB_CHAR
UNDERSCORE_CHAR
PIPE_CHAR
| Improve this Doc View Source

QUESTION_MARK

The question mark is another special character that is frequently used as an operator; use this to differentiate such use from that of an operand.

Declaration
public const string QUESTION_MARK = "?"
Field Value
Type Description
System.String
| Improve this Doc View Source

SEMICOLON

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string SEMICOLON = ";"
Field Value
Type Description
System.String
See Also
SEMICOLON
| Improve this Doc View Source

SINGLE_QUOTE

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string SINGLE_QUOTE = "'"
Field Value
Type Description
System.String
See Also
SINGLE_QUOTE
| Improve this Doc View Source

SPACE_CHAR

Use this when you need a space character in a context that requires a string representation.

Declaration
public const string SPACE_CHAR = " "
Field Value
Type Description
System.String
Remarks

Heretofore, I have made do with the ToString method on the like-named character, but it annoyed me whenever I did so because I wanted th use a real constant.

See Also
SPACE_CHAR
TWO_SPACES
| Improve this Doc View Source

SPACING_TEMPLATE

Use this template when you need to either precede or follow a line of otherwise static text with a newline.

Declaration
public const string SPACING_TEMPLATE = "{0}{1}"
Field Value
Type Description
System.String
| Improve this Doc View Source

SQL_DATE_FORMAT

This string is the standard representation of a date by itself.

Declaration
public const string SQL_DATE_FORMAT = "MM-dd-yyyy"
Field Value
Type Description
System.String
See Also
SQL_DATETIME_FORMAT_FULL
SQL_DATETIME_FORMAT_PRECISE
| Improve this Doc View Source

SQL_DATETIME_FORMAT_FULL

This string is the standard representation of a date and time to the nearest second.

Declaration
public const string SQL_DATETIME_FORMAT_FULL = "MM-dd-yyyy HH:mm:ss"
Field Value
Type Description
System.String
See Also
SQL_DATE_FORMAT
SQL_DATETIME_FORMAT_PRECISE
| Improve this Doc View Source

SQL_DATETIME_FORMAT_PRECISE

This string is the most precise string representation of the format of a SQL Server date.

Declaration
public const string SQL_DATETIME_FORMAT_PRECISE = "MM-dd-yyyy HH:mm:ss.fff"
Field Value
Type Description
System.String
Remarks

Since date literals must be enclosed in single quotation marks, the formatted date value must be embedded in a string literal by interpolation or by way of a format item token. Regardless, the single quotes must be part of the string because including them in the format string invalidates it, causing ToString and its friends to render the format string as prescribed, rather than replacing it with the date value.

See Also
SQL_DATE_FORMAT
SQL_DATETIME_FORMAT_FULL
| Improve this Doc View Source

SQL_ESCAPED_SINGLE_QUOTE

Use this as the second of two argument so the Replace method on a String, along with SINGLE_QUOTE as tthe first argument, to replace single quotation marks that appear in the value of a column or a stored procedure parameter appears in a SQL script.

Declaration
public const string SQL_ESCAPED_SINGLE_QUOTE = "''"
Field Value
Type Description
System.String
| Improve this Doc View Source

STRING_SPLIT_CARRIAGE_RETURN

Use this string as the solitary element of an array of strings to split a string that contains text from a file of lines delimited by carriage returns only.

Declaration
public const string STRING_SPLIT_CARRIAGE_RETURN = "\r"
Field Value
Type Description
System.String
See Also
CARRIAGE_RETURN
LINEFEED
STRING_SPLIT_LINEFEED
STRING_SPLIT_NEWLINE
| Improve this Doc View Source

STRING_SPLIT_LINEFEED

Use this string as the solitary element of an array of strings to split a string that contains text from a file of lines delimited by line feeds only.

Declaration
public const string STRING_SPLIT_LINEFEED = "\n"
Field Value
Type Description
System.String
See Also
CARRIAGE_RETURN
LINEFEED
STRING_SPLIT_CARRIAGE_RETURN
STRING_SPLIT_NEWLINE
| Improve this Doc View Source

STRING_SPLIT_NEWLINE

Use this string as the solitary element of an array of strings to split a string that contains text from a file into an array of strings, each element of which is a line of text, stripped of its line ending, if any.

Declaration
public const string STRING_SPLIT_NEWLINE = "\r\n"
Field Value
Type Description
System.String
See Also
STRING_SPLIT_CARRIAGE_RETURN
STRING_SPLIT_LINEFEED
CARRIAGE_RETURN
LINEFEED
STRING_SPLIT_CARRIAGE_RETURN
| Improve this Doc View Source

TAB_CHAR

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string TAB_CHAR = "\t"
Field Value
Type Description
System.String
See Also
TAB_CHAR
| Improve this Doc View Source

TWO_SPACES

Render two back-to-back spaces.

Declaration
public const string TWO_SPACES = "  "
Field Value
Type Description
System.String
See Also
SPACE_CHAR
| Improve this Doc View Source

UNDERSCORE_CHAR

This is one of many single characters that are frequently needed as single-character string constants.

Declaration
public const string UNDERSCORE_CHAR = "_"
Field Value
Type Description
System.String
See Also
UNDERSCORE_CHAR

See Also

ArrayInfo
MagicNumbers
SpecialCharacters
  • Improve this Doc
  • View Source
Back to top Generated by DocFX