The SalString type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SalString()()()() |
Constructs a new SalString object containing an empty string.
| |
SalString(array<Byte>[]()[][]) |
Constructs a new SalString object.
| |
SalString(array<Char>[]()[][]) |
Constructs a new SalString object.
| |
SalString(String) |
Constructs a new SalString object.
| |
SalString(array<Byte>[]()[][], Int32, Int32) |
Constructs a new SalString object.
| |
SalString(array<Char>[]()[][], Int32, Int32) |
Constructs a new SalString object.
|
Methods
Name | Description | |
---|---|---|
Clone |
Returns a copy of this string.
| |
Compare |
Compares two strings lexicographically to match SAL comparison rules.
SAL apparently uses _xcmp().
| |
CompareTo(Object) | ||
CompareTo(SalString) | ||
Compress()()()() |
Compresses the string.
| |
Compress(SalString%) |
Compresses the string.
| |
Concat |
+ operator for concatenating two SalString objects.
| |
Equals |
Overrides the Object.Equals() method.
(Overrides Object..::..Equals(Object).) | |
FirstChar |
Returns the UNICODE numeric value of the first character of a string in decimal format
ane removes the first character of the string.
| |
FreeHandle |
Frees a string handle created using SalHStringTonumber.
| |
FromHandle |
Converts a number (string handle) to a string.
| |
FromHex |
Decodes a hexadecimal string into a string.
| |
GetBlob |
Returns the string content as an array of bytes.
| |
GetBufferLength |
Returns the current buffer length of the string.
| |
GetHashCode |
Overrides the Object.GetHashCode() method
(Overrides Object..::..GetHashCode()()()().) | |
IsValidCurrency(Int32, Int32) |
Verifies that an entire character string represents a valid currency value.
| |
IsValidCurrency(Int32, Int32, IFormatProvider) |
Verifies that an entire character string represents a valid currency value.
| |
IsValidCurrency(Int32, Int32, String, IFormatProvider) |
Verifies that an entire character string represents a valid currency value.
| |
IsValidDateTime()()()() |
Verifies that an entire character string represents a valid date/time value.
| |
IsValidDateTime(IFormatProvider) |
Verifies that an entire character string represents a valid date/time value.
| |
IsValidDateTime(String, IFormatProvider) |
Verifies that an entire character string represents a valid date/time value.
| |
IsValidDecimal(Int32, Int32) |
Verifies that an entire character string represents a valid decimal value.
| |
IsValidDecimal(Int32, Int32, IFormatProvider) |
Verifies that an entire character string represents a valid decimal value.
| |
IsValidDecimal(Int32, Int32, String, IFormatProvider) |
Verifies that an entire character string represents a valid decimal value.
| |
IsValidIdentifierName |
Returns TRUE if the string is a valid identifier.
| |
IsValidInteger()()()() |
Verifies that an entire character string represents a valid integer value.
| |
IsValidInteger(String) |
Verifies that an entire character string represents a valid integer value.
| |
IsValidNumber()()()() |
Verifies that an entire character string represents a valid number value.
| |
IsValidNumber(IFormatProvider) |
Verifies that an entire character string represents a valid number value.
| |
IsValidNumber(String, IFormatProvider) |
Verifies that an entire character string represents a valid number value.
| |
Left(Int32) |
Returns a substring of a specified length starting at position zero.
| |
Left(Int32, SalString%) |
Returns a substring of a specified length starting at position zero.
| |
Lop |
Returns the UNICODE numeric value of the first character of a string in decimal format
ane removes the first character of the string.
| |
Mid(Int32, Int32) |
Returns a substring, starting at a specified position and containing a specified number of characters.
| |
Mid(Int32, Int32, SalString%) |
Returns a substring, starting at a specified position and containing a specified number of characters.
| |
ReleaseGCHandles | ||
Repeat(Int32) |
Concatenates a string with itself a specified number of times.
| |
Repeat(Int32, SalString%) |
Concatenates a string with itself a specified number of times.
| |
Replace(Int32, Int32, String) |
Replaces characters in one string with characters from another string.
| |
Replace(Int32, Int32, String, SalString%) |
Replaces characters in one string with characters from another string.
| |
Right(Int32) |
Returns a string of specified length,
starting with the last character in the string.
| |
Right(Int32, SalString%) |
Returns a string of specified length,
starting with the last character in the string.
| |
Scan |
Searches for and returns the offset of a specified substring.
Uses wildcard chars: % and _
| |
SetBufferLength(Int32) | ||
SetBufferLength(SalString%, Int32) | ||
ToDate()()()() |
Converts a string to a date/time value.
| |
ToDate(String) |
Converts a string to a date/time value.
| |
ToDate(String, IFormatProvider) |
Converts a string to a date/time value.
| |
ToHandle |
Converts a string to a number (handle) so it can be passed in a message
using SalHStringTonumber.
The handle is created using a GCHandle reference tos this string. Therefore
once the strong reference is created, this string will never be garbage collected
until the application exits.
| |
ToHex |
Encodes the string buffer to a hexadecimal string.
| |
Tokenize(String, String) |
Parses a string into substrings (tokens) based on specified start and end delimiters.
| |
Tokenize(String, String, SalArray<(Of <<'(SalString>)>>)) |
Parses a string into substrings (tokens) based on specified start and end delimiters.
| |
ToLower()()()() |
Converts a string to lowercase.
| |
ToLower(SalString%) |
Converts a string to lowercase.
| |
ToNumber()()()() |
Converts a string to a number.
| |
ToNumber(String) |
Converts a string to a number.
| |
ToNumber(String, IFormatProvider) |
Converts a string to a number.
| |
ToProper()()()() |
Converts a string to a proper name. In a proper name, the first
letter of each word is uppercase; the remaining letters are lowercase.
| |
ToProper(SalString%) |
Converts a string to a proper name. In a proper name, the first
letter of each word is uppercase; the remaining letters are lowercase.
| |
ToString()()()() |
Overrides the ToString() method and redirects it to the wrapped member.
(Overrides Object..::..ToString()()()().) | |
ToString(IFormatProvider) | ||
ToUpper()()()() |
Converts a string to uppercase.
| |
ToUpper(SalString%) |
Converts a string to uppercase.
| |
Trim()()()() |
Strips leading and trailing blanks and compresses multiple spaces and tabs within
a string to single spaces.
| |
Trim(SalString%) |
Strips leading and trailing blanks and compresses multiple spaces and tabs within
a string to single spaces.
| |
Uncompress()()()() |
Decompresses the string.
| |
Uncompress(SalString%) |
Decompresses the string.
|
Operators
Fields
Properties
Name | Description | |
---|---|---|
IsBlob |
Blob flag.
| |
IsEmpty |
Checks if this SalString object contains a null value or is empty.
| |
IsNull |
Checks if this SalString object contains a null value.
| |
Item |
Character indexer
| |
Length |
Returns the string's length up to the terminator char.
| |
Value |
Returns the inner string value
|