The SalString type exposes the following members.

Methods

  NameDescription
Public methodClone
Returns a copy of this string.
Public methodStatic memberCompare
Compares two strings lexicographically to match SAL comparison rules. SAL apparently uses _xcmp().
Public methodCompareTo(Object)
Public methodCompareTo(SalString)
Public methodCompress()()()()
Compresses the string.
Public methodCompress(SalString%)
Compresses the string.
Public methodStatic memberConcat
+ operator for concatenating two SalString objects.
Public methodEquals
Overrides the Object.Equals() method.
(Overrides Object..::..Equals(Object).)
Public methodStatic memberFirstChar
Returns the UNICODE numeric value of the first character of a string in decimal format ane removes the first character of the string.
Public methodStatic memberFreeHandle
Frees a string handle created using SalHStringTonumber.
Public methodStatic memberFromHandle
Converts a number (string handle) to a string.
Public methodStatic memberFromHex
Decodes a hexadecimal string into a string.
Public methodGetBlob
Returns the string content as an array of bytes.
Public methodGetBufferLength
Returns the current buffer length of the string.
Public methodGetHashCode
Overrides the Object.GetHashCode() method
(Overrides Object..::..GetHashCode()()()().)
Public methodIsValidCurrency(Int32, Int32)
Verifies that an entire character string represents a valid currency value.
Public methodIsValidCurrency(Int32, Int32, IFormatProvider)
Verifies that an entire character string represents a valid currency value.
Public methodIsValidCurrency(Int32, Int32, String, IFormatProvider)
Verifies that an entire character string represents a valid currency value.
Public methodIsValidDateTime()()()()
Verifies that an entire character string represents a valid date/time value.
Public methodIsValidDateTime(IFormatProvider)
Verifies that an entire character string represents a valid date/time value.
Public methodIsValidDateTime(String, IFormatProvider)
Verifies that an entire character string represents a valid date/time value.
Public methodIsValidDecimal(Int32, Int32)
Verifies that an entire character string represents a valid decimal value.
Public methodIsValidDecimal(Int32, Int32, IFormatProvider)
Verifies that an entire character string represents a valid decimal value.
Public methodIsValidDecimal(Int32, Int32, String, IFormatProvider)
Verifies that an entire character string represents a valid decimal value.
Public methodIsValidIdentifierName
Returns TRUE if the string is a valid identifier.
Public methodIsValidInteger()()()()
Verifies that an entire character string represents a valid integer value.
Public methodIsValidInteger(String)
Verifies that an entire character string represents a valid integer value.
Public methodIsValidNumber()()()()
Verifies that an entire character string represents a valid number value.
Public methodIsValidNumber(IFormatProvider)
Verifies that an entire character string represents a valid number value.
Public methodIsValidNumber(String, IFormatProvider)
Verifies that an entire character string represents a valid number value.
Public methodLeft(Int32)
Returns a substring of a specified length starting at position zero.
Public methodLeft(Int32, SalString%)
Returns a substring of a specified length starting at position zero.
Public methodLop
Returns the UNICODE numeric value of the first character of a string in decimal format ane removes the first character of the string.
Public methodMid(Int32, Int32)
Returns a substring, starting at a specified position and containing a specified number of characters.
Public methodMid(Int32, Int32, SalString%)
Returns a substring, starting at a specified position and containing a specified number of characters.
Public methodStatic memberReleaseGCHandles
Public methodRepeat(Int32)
Concatenates a string with itself a specified number of times.
Public methodRepeat(Int32, SalString%)
Concatenates a string with itself a specified number of times.
Public methodReplace(Int32, Int32, String)
Replaces characters in one string with characters from another string.
Public methodReplace(Int32, Int32, String, SalString%)
Replaces characters in one string with characters from another string.
Public methodRight(Int32)
Returns a string of specified length, starting with the last character in the string.
Public methodRight(Int32, SalString%)
Returns a string of specified length, starting with the last character in the string.
Public methodScan
Searches for and returns the offset of a specified substring. Uses wildcard chars: % and _
Public methodSetBufferLength(Int32)
Public methodSetBufferLength(SalString%, Int32)
Public methodToDate()()()()
Converts a string to a date/time value.
Public methodToDate(String)
Converts a string to a date/time value.
Public methodToDate(String, IFormatProvider)
Converts a string to a date/time value.
Public methodToHandle
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.
Public methodToHex
Encodes the string buffer to a hexadecimal string.
Public methodTokenize(String, String)
Parses a string into substrings (tokens) based on specified start and end delimiters.
Public methodTokenize(String, String, SalArray<(Of <<'(SalString>)>>))
Parses a string into substrings (tokens) based on specified start and end delimiters.
Public methodToLower()()()()
Converts a string to lowercase.
Public methodToLower(SalString%)
Converts a string to lowercase.
Public methodToNumber()()()()
Converts a string to a number.
Public methodToNumber(String)
Converts a string to a number.
Public methodToNumber(String, IFormatProvider)
Converts a string to a number.
Public methodToProper()()()()
Converts a string to a proper name. In a proper name, the first letter of each word is uppercase; the remaining letters are lowercase.
Public methodToProper(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.
Public methodToString()()()()
Overrides the ToString() method and redirects it to the wrapped member.
(Overrides Object..::..ToString()()()().)
Public methodToString(IFormatProvider)
Public methodToUpper()()()()
Converts a string to uppercase.
Public methodToUpper(SalString%)
Converts a string to uppercase.
Public methodTrim()()()()
Strips leading and trailing blanks and compresses multiple spaces and tabs within a string to single spaces.
Public methodTrim(SalString%)
Strips leading and trailing blanks and compresses multiple spaces and tabs within a string to single spaces.
Public methodUncompress()()()()
Decompresses the string.
Public methodUncompress(SalString%)
Decompresses the string.

See Also