SalString
PPJ.Runtime.SalString
Last updated
PPJ.Runtime.SalString
Last updated
Namespace: PPJ.Runtime
Assembly: PPJ.Web.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
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
Returns a copy of this string.
Returns: SalString.
Compares two strings lexicographically to match SAL comparison rules. SAL apparently uses _xcmp().
x
y
Returns: Int32.
Compare to an object
obj
Returns: Int32.
Compare to a SalString
x
Returns: Int32.
Compresses the string.
Returns: SalString.
sRet
Returns: Boolean.
operator for concatenating two SalString objects.
x
y
Returns: SalString.
target
charCode
Returns: Boolean.
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.
Returns: SalString.
Converts a number (string handle) to a string and releases the handle immediately.
handle
The handle to convert back to a string.
Returns: SalString.
Decodes a hexadecimal string into a string.
hex
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.
precision
scale
Returns: Boolean.
Verifies that an entire character string represents a valid currency value.
precision
scale
provider
Returns: Boolean.
Verifies that an entire character string represents a valid currency value.
precision
scale
format
provider
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.
provider
Returns: Boolean.
Verifies that an entire character string represents a valid date/time value.
format
provider
Returns: Boolean.
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.
Returns: Boolean. bOk
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
Returns: Boolean. bOk
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: 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.
format
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.
provider
Returns: Boolean.
Verifies that an entire character string represents a valid number value.
format
provider
Returns: Boolean.
Returns a substring of a specified length starting at position zero.
length
Returns: SalString.
length
target
Returns: SalNumber.
target
Returns: SalNumber.
Returns a substring, starting at a specified position and containing a specified number of characters.
pos
length
Returns: SalString.
pos
length
target
Returns: SalNumber.
Concatenates a string with itself a specified number of times.
times
Returns: SalString.
times
target
Returns: SalNumber.
Replaces characters in one string with characters from another string.
startPos
length
replace
Returns: SalString.
startPos
length
replace
target
Returns: SalNumber.
Returns a string of specified length, starting with the last character in the string.
length
Returns: SalString.
length
target
Returns: SalNumber.
Searches for and returns the offset of a specified substring. Uses wild card chars: % and _
pattern
Returns: SalNumber.
Sets the buffer string length to the length.
length
Returns: SalString.
target
length
Returns: Boolean.
Converts a string to a date/time value.
Returns: SalDateTime.
Converts a string to a date/time value.
format
Returns: SalDateTime.
Converts a string to a date/time value.
format
provider
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.
startDel
endDel
Returns: SalArray<SalString>.
Parses a string into substrings (tokens) based on specified start and end delimiters.
startDel
endDel
target
Returns: SalNumber.
Converts a string to lowercase.
Returns: SalString.
target
Returns: SalNumber.
Converts a string to a number.
Returns: SalNumber.
Converts a string to a number.
format
Returns: SalNumber.
Converts a string to a number.
format
provider
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.
target
Returns: SalNumber.
Converts a string to uppercase.
Returns: SalString.
target
Returns: SalNumber.
Strips leading and trailing blanks and compresses multiple spaces and tabs within a string to single spaces.
Returns: SalString.
target
Returns: SalNumber.
Decompresses the string.
Returns: SalString.
target
Returns: Boolean.
Special SalString extension to support SalContextCurrent().
Common base interface for Sal types.