SalString

PPJ.Runtime.SalString

Namespace: PPJ.Runtime

Assembly: PPJ.Runtime.49 (4.9.0.0)

SAL String basic type. It wraps .NET String class. SalString objects are automatically cast to and from .NET String type.

public class SalString : IComparable, IConvertible, IFormattable, INullable, ISalType, IXmlSerializable

Constructors

Constructs a new SalString object containing an empty string.

Constructs a new SalString object.

Constructs a new SalString object.

Constructs a new SalString object.

Constructs a new SalString object.

Constructs a new SalString object.

Fields

Properties

Boolean: Blob flag.

Boolean: Checks if this SalString object contains a null value or is empty.

Boolean: Checks if this SalString object contains a null value.

Char: Character indexer

SalNumber: Returns the string's length up to the terminator char.

String: Returns the inner string value

Methods

Returns a copy of this string.

Returns: SalString.

Compares two strings lexicographically to match SAL comparison rules. SAL apparently uses _xcmp().

Returns: Int32.

Compare to an object

Returns: Int32.

Compare to a SalString

Returns: Int32.

Compresses the string.

Returns: SalString.

Returns: Boolean.

  • operator for concatenating two SalString objects.

Returns: SalString.

Returns: Boolean.

Frees a string handle created using SalHStringTonumber.

Converts a number (string handle) to a string.

Returns: SalString.

Converts a number (string handle) to a string and releases the handle immediately.

Returns: SalString.

Decodes a hexadecimal string into a string.

Returns: SalString.

Returns the string content as an array of bytes.

Returns: Byte[].

Returns the current buffer length of the string.

Returns: SalNumber. nLength

Verifies that an entire character string represents a valid currency value.

Returns: Boolean.

Verifies that an entire character string represents a valid currency value.

Returns: Boolean.

Verifies that an entire character string represents a valid currency value.

Returns: Boolean.

Verifies that an entire character string represents a valid date/time value.

Returns: Boolean.

Verifies that an entire character string represents a valid date/time value.

Returns: Boolean.

Verifies that an entire character string represents a valid date/time value.

Returns: Boolean.

Verifies that an entire character string represents a valid decimal value.

Returns: Boolean. bOk

Verifies that an entire character string represents a valid decimal value.

Returns: Boolean. bOk

Verifies that an entire character string represents a valid decimal value.

Returns: Boolean. bOk

Returns TRUE if the string is a valid identifier.

Returns: Boolean.

Verifies that an entire character string represents a valid integer value.

Returns: Boolean.

Verifies that an entire character string represents a valid integer value.

Returns: Boolean.

Verifies that an entire character string represents a valid number value.

Returns: Boolean. bOk

Verifies that an entire character string represents a valid number value.

Returns: Boolean.

Verifies that an entire character string represents a valid number value.

Returns: Boolean.

Returns a substring of a specified length starting at position zero.

Returns: SalString.

Returns: SalNumber.

Returns: SalNumber.

Returns a substring, starting at a specified position and containing a specified number of characters.

Returns: SalString.

Returns: SalNumber.

Concatenates a string with itself a specified number of times.

Returns: SalString.

Returns: SalNumber.

Replaces characters in one string with characters from another string.

Returns: SalString.

Returns: SalNumber.

Returns a string of specified length, starting with the last character in the string.

Returns: SalString.

Returns: SalNumber.

Searches for and returns the offset of a specified substring. Uses wild card chars: % and _

Returns: SalNumber.

Sets the buffer string length to the length.

Returns: SalString.

Returns: Boolean.

Converts a string to a date/time value.

Returns: SalDateTime.

Converts a string to a date/time value.

Returns: SalDateTime.

Converts a string to a date/time value.

Returns: SalDateTime.

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 to this string. Therefore once the strong reference is created, this string will never be garbage collected until the application exits.

Returns: IntPtr.

Encodes the string buffer to a hexadecimal string.

Returns: String.

Parses a string into substrings (tokens) based on specified start and end delimiters.

Returns: SalArray<SalString>.

Parses a string into substrings (tokens) based on specified start and end delimiters.

Returns: SalNumber.

Converts a string to lowercase.

Returns: SalString.

Returns: SalNumber.

Converts a string to a number.

Returns: SalNumber.

Converts a string to a number.

Returns: SalNumber.

Converts a string to a number.

Returns: SalNumber.

Converts a string to a proper name. In a proper name, the first letter of each word is uppercase; the remaining letters are lowercase.

Returns: SalString.

Returns: SalNumber.

Converts a string to uppercase.

Returns: SalString.

Returns: SalNumber.

Strips leading and trailing blanks and compresses multiple spaces and tabs within a string to single spaces.

Returns: SalString.

Returns: SalNumber.

Decompresses the string.

Returns: SalString.

Returns: Boolean.

Inherited By

Implements

Last updated