SalString
PPJ.Runtime.SalString
Last updated
PPJ.Runtime.SalString
Last updated
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.
Constructs a new SalString object containing an empty string.
Constructs a new SalString object.
x
Constructs a new SalString object.
chars
Constructs a new SalString object.
chars
index
length
Constructs a new SalString object.
blob
Constructs a new SalString object.
blob
index
length
Empty
empty value
Null
null value
NullBlob
null value for blobs
Returns a copy of this string.
Compares two strings lexicographically to match SAL comparison rules. SAL apparently uses _xcmp().
x
y
Compare to an object
obj
Compare to a SalString
x
Compresses the string.
sRet
operator for concatenating two SalString objects.
x
y
target
charCode
Frees a string handle created using SalHStringTonumber.
handle
String handle to release.
Converts a number (string handle) to a string.
handle
The handle to convert back to a string.
free
Indicates that the handle should be released. The default is false.
Converts a number (string handle) to a string and releases the handle immediately.
handle
The handle to convert back to a string.
Decodes a hexadecimal string into a string.
hex
Returns the string content as an array of bytes.
Returns the current buffer length of the string.
Verifies that an entire character string represents a valid currency value.
precision
scale
Verifies that an entire character string represents a valid currency value.
precision
scale
provider
Verifies that an entire character string represents a valid currency value.
precision
scale
format
provider
Verifies that an entire character string represents a valid date/time value.
Verifies that an entire character string represents a valid date/time value.
provider
Verifies that an entire character string represents a valid date/time value.
format
provider
Verifies that an entire character string represents a valid decimal value.
precision
The number of digits to display.
scale
The number of digits to the right of the decimal point.
Verifies that an entire character string represents a valid decimal value.
precision
The number of digits to display.
scale
The number of digits to the right of the decimal point.
provider
Verifies that an entire character string represents a valid decimal value.
precision
The number of digits to display.
scale
The number of digits to the right of the decimal point.
format
provider
Returns TRUE if the string is a valid identifier.
Verifies that an entire character string represents a valid integer value.
Verifies that an entire character string represents a valid integer value.
format
Verifies that an entire character string represents a valid number value.
Verifies that an entire character string represents a valid number value.
provider
Verifies that an entire character string represents a valid number value.
format
provider
Returns a substring of a specified length starting at position zero.
length
length
target
target
Returns a substring, starting at a specified position and containing a specified number of characters.
pos
length
pos
length
target
Concatenates a string with itself a specified number of times.
times
times
target
Replaces characters in one string with characters from another string.
startPos
length
replace
startPos
length
replace
target
Returns a string of specified length, starting with the last character in the string.
length
length
target
Searches for and returns the offset of a specified substring. Uses wild card chars: % and _
pattern
Sets the buffer string length to the length.
length
target
length
Converts a string to a date/time value.
Converts a string to a date/time value.
format
Converts a string to a date/time value.
format
provider
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.
Encodes the string buffer to a hexadecimal string.
Parses a string into substrings (tokens) based on specified start and end delimiters.
startDel
endDel
Parses a string into substrings (tokens) based on specified start and end delimiters.
startDel
endDel
target
Converts a string to lowercase.
target
Converts a string to a number.
Converts a string to a number.
format
Converts a string to a number.
format
provider
Converts a string to a proper name. In a proper name, the first letter of each word is uppercase; the remaining letters are lowercase.
target
Converts a string to uppercase.
target
Strips leading and trailing blanks and compresses multiple spaces and tabs within a string to single spaces.
target
Decompresses the string.
target
Special SalString extension to support SalContextCurrent().
Common base interface for Sal types.
: Blob flag.
: Checks if this SalString object contains a null value or is empty.
: Checks if this SalString object contains a null value.
: Character indexer
: Returns the string's length up to the terminator char.
: Returns the inner string value
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: . nLength
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: . bOk
Returns: . bOk
Returns: . bOk
Returns: .
Returns: .
Returns: .
Returns: . bOk
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .