Strings
Overview
Location
-
Reference:
- mercury.jar Cooper
- Mercury.fx Island
- libMercury.fx Toffee
- Namespace: RemObjects.Elements.Mercury
- Platforms: Cooper, Island, Toffee
constructor protected Cooper, Island
constructor
Strings()
init()
Strings()
Sub New()
Asc (Char): Integer virtual
static Integer Asc(Char aChar)
Parameters:
- aChar:
Asc (String): Integer virtual
static Integer Asc(String aString)
Parameters:
- aString:
AscW (Char): Integer virtual
static Integer AscW(Char aChar)
Parameters:
- aChar:
AscW (String): Integer virtual
static Integer AscW(String aString)
Parameters:
- aString:
Chr virtual
static Char Chr(Integer aCharCode)
Parameters:
- aCharCode:
ChrW virtual
static Char ChrW(Integer aCharCode)
Parameters:
- aCharCode:
Filter (array of Object, String, Boolean, CompareMethod): array of String virtual
class method Filter(SourceArray: array of Object; Find: String; Include: Boolean; Compare: CompareMethod): array of String
static String[] Filter(Object[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
static func Filter(_ SourceArray: NSObject..., _ Find: String, _ Include: Boolean, _ Compare: CompareMethod) -> String...
static String[] Filter(Object[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
Shared Function Filter(SourceArray As Object(), Find As String, Include As Boolean, Compare As CompareMethod) As String()
Parameters:
- SourceArray:
- Find:
- Include:
- Compare:
Filter (array of String, String, Boolean, CompareMethod): array of String virtual
class method Filter(SourceArray: array of String; Find: String; Include: Boolean; Compare: CompareMethod): array of String
static String[] Filter(String[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
static func Filter(_ SourceArray: String..., _ Find: String, _ Include: Boolean, _ Compare: CompareMethod) -> String...
static String[] Filter(String[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
Shared Function Filter(SourceArray As String(), Find As String, Include As Boolean, Compare As CompareMethod) As String()
Parameters:
- SourceArray:
- Find:
- Include:
- Compare:
GetChar virtual
Parameters:
- aString:
- Index:
InStr (String, String, CompareMethod): Integer virtual
class method InStr(aString: String; Find: String; Compare: CompareMethod): Int32
static Int32 InStr(String aString, String Find, CompareMethod Compare)
static func InStr(_ aString: String, _ Find: String, _ Compare: CompareMethod) -> Int32
static Integer InStr(String aString, String Find, CompareMethod Compare)
Shared Function InStr(aString As String, Find As String, Compare As CompareMethod) As Int32
Parameters:
- aString:
- Find:
- Compare:
InStr (Integer, String, String, CompareMethod): Integer virtual
class method InStr(Start: Int32; aString: String; Find: String; Compare: CompareMethod): Int32
static Int32 InStr(Int32 Start, String aString, String Find, CompareMethod Compare)
static func InStr(_ Start: Int32, _ aString: String, _ Find: String, _ Compare: CompareMethod) -> Int32
static Integer InStr(Integer Start, String aString, String Find, CompareMethod Compare)
Shared Function InStr(Start As Int32, aString As String, Find As String, Compare As CompareMethod) As Int32
Parameters:
- Start:
- aString:
- Find:
- Compare:
InStrRev virtual
class method InStrRev(aString: String; Find: String; Start: Int32; Compare: CompareMethod): Int32
static Int32 InStrRev(String aString, String Find, Int32 Start, CompareMethod Compare)
static func InStrRev(_ aString: String, _ Find: String, _ Start: Int32, _ Compare: CompareMethod) -> Int32
static Integer InStrRev(String aString, String Find, Integer Start, CompareMethod Compare)
Shared Function InStrRev(aString As String, Find As String, Start As Int32, Compare As CompareMethod) As Int32
Parameters:
- aString:
- Find:
- Start:
- Compare:
Join (array of Object, String): String virtual
static String Join(Object[] ObjectArray, String Delimiter)
Parameters:
- ObjectArray:
- Delimiter:
Join (array of String, String): String virtual
static String Join(String[] stringArray, String Delimiter)
Parameters:
- stringArray:
- Delimiter:
LCase (Char): Char virtual
static Char LCase(Char aChar)
Parameters:
- aChar:
LCase (String): String virtual
static String LCase(String aString)
Parameters:
- aString:
Left virtual
static String Left(String aString, Integer Length)
Parameters:
- aString:
- Length:
Len virtual
Parameters:
- aValue:
LSet virtual
static String LSet(String aString, Integer Length)
Parameters:
- aString:
- Length:
LTrim virtual
static String LTrim(String aString)
Parameters:
- aString:
Mid (String, Integer): String virtual
static String Mid(String aString, Integer Start)
Parameters:
- aString:
- Start:
Parameters:
- aString:
- Start:
- Length:
Replace virtual
class method Replace(aString: String; Find: String; Replacement: String; Start: Int32; MaxReplacements: Int32; Compare: CompareMethod): String
static String Replace(String aString, String Find, String Replacement, Int32 Start, Int32 MaxReplacements, CompareMethod Compare)
static func Replace(_ aString: String, _ Find: String, _ Replacement: String, _ Start: Int32, _ MaxReplacements: Int32, _ Compare: CompareMethod) -> String
static String Replace(String aString, String Find, String Replacement, Integer Start, Integer MaxReplacements, CompareMethod Compare)
Parameters:
- aString:
- Find:
- Replacement:
- Start:
- MaxReplacements:
- Compare:
Right virtual
static String Right(String aString, Integer Length)
Parameters:
- aString:
- Length:
RSet virtual
static String RSet(String aString, Integer Length)
Parameters:
- aString:
- Length:
RTrim virtual
static String RTrim(String aString)
Parameters:
- aString:
Space virtual
static String Space(Integer Count)
Parameters:
- Count:
Split virtual
class method Split(aString: String; Delimiter: String; MaxElements: Int32; Compare: CompareMethod): array of String
static String[] Split(String aString, String Delimiter, Int32 MaxElements, CompareMethod Compare)
static func Split(_ aString: String, _ Delimiter: String, _ MaxElements: Int32, _ Compare: CompareMethod) -> String...
static String[] Split(String aString, String Delimiter, Integer MaxElements, CompareMethod Compare)
Shared Function Split(aString As String, Delimiter As String, MaxElements As Int32, Compare As CompareMethod) As String()
Parameters:
- aString:
- Delimiter:
- MaxElements:
- Compare:
StrComp virtual
class method StrComp(String1: String; String2: String; Compare: CompareMethod): Int32
static Int32 StrComp(String String1, String String2, CompareMethod Compare)
static func StrComp(_ String1: String, _ String2: String, _ Compare: CompareMethod) -> Int32
static Integer StrComp(String String1, String String2, CompareMethod Compare)
Shared Function StrComp(String1 As String, String2 As String, Compare As CompareMethod) As Int32
Parameters:
- String1:
- String2:
- Compare:
Parameters:
- Count:
- aChar:
StrDup (Integer, String): String virtual
static String StrDup(Integer Count, String aString)
Parameters:
- Count:
- aString:
Parameters:
- Count:
- Character:
StrReverse virtual
static String StrReverse(String aString)
Parameters:
- aString:
Trim virtual
static String Trim(String aString)
Parameters:
- aString:
UCase (Char): Char virtual
static Char UCase(Char aChar)
Parameters:
- aChar:
UCase (String): String virtual
static String UCase(String aString)
Parameters:
- aString:
Asc (Char): Integer virtual
static Integer Asc(Char aChar)
Parameters:
- aChar:
Asc (String): Integer virtual
static Integer Asc(String aString)
Parameters:
- aString:
AscW (Char): Integer virtual
static Integer AscW(Char aChar)
Parameters:
- aChar:
AscW (String): Integer virtual
static Integer AscW(String aString)
Parameters:
- aString:
Chr virtual
static Char Chr(Integer aCharCode)
Parameters:
- aCharCode:
ChrW virtual
static Char ChrW(Integer aCharCode)
Parameters:
- aCharCode:
Filter (array of Object, String, Boolean, CompareMethod): array of String virtual
class method Filter(SourceArray: array of Object; Find: String; Include: Boolean; Compare: CompareMethod): array of String
static String[] Filter(Object[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
static func Filter(_ SourceArray: NSObject..., _ Find: String, _ Include: Boolean, _ Compare: CompareMethod) -> String...
static String[] Filter(Object[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
Shared Function Filter(SourceArray As Object(), Find As String, Include As Boolean, Compare As CompareMethod) As String()
Parameters:
- SourceArray:
- Find:
- Include:
- Compare:
Filter (array of String, String, Boolean, CompareMethod): array of String virtual
class method Filter(SourceArray: array of String; Find: String; Include: Boolean; Compare: CompareMethod): array of String
static String[] Filter(String[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
static func Filter(_ SourceArray: String..., _ Find: String, _ Include: Boolean, _ Compare: CompareMethod) -> String...
static String[] Filter(String[] SourceArray, String Find, Boolean Include, CompareMethod Compare)
Shared Function Filter(SourceArray As String(), Find As String, Include As Boolean, Compare As CompareMethod) As String()
Parameters:
- SourceArray:
- Find:
- Include:
- Compare:
GetChar virtual
Parameters:
- aString:
- Index:
InStr (String, String, CompareMethod): Integer virtual
class method InStr(aString: String; Find: String; Compare: CompareMethod): Int32
static Int32 InStr(String aString, String Find, CompareMethod Compare)
static func InStr(_ aString: String, _ Find: String, _ Compare: CompareMethod) -> Int32
static Integer InStr(String aString, String Find, CompareMethod Compare)
Shared Function InStr(aString As String, Find As String, Compare As CompareMethod) As Int32
Parameters:
- aString:
- Find:
- Compare:
InStr (Integer, String, String, CompareMethod): Integer virtual
class method InStr(Start: Int32; aString: String; Find: String; Compare: CompareMethod): Int32
static Int32 InStr(Int32 Start, String aString, String Find, CompareMethod Compare)
static func InStr(_ Start: Int32, _ aString: String, _ Find: String, _ Compare: CompareMethod) -> Int32
static Integer InStr(Integer Start, String aString, String Find, CompareMethod Compare)
Shared Function InStr(Start As Int32, aString As String, Find As String, Compare As CompareMethod) As Int32
Parameters:
- Start:
- aString:
- Find:
- Compare:
InStrRev virtual
class method InStrRev(aString: String; Find: String; Start: Int32; Compare: CompareMethod): Int32
static Int32 InStrRev(String aString, String Find, Int32 Start, CompareMethod Compare)
static func InStrRev(_ aString: String, _ Find: String, _ Start: Int32, _ Compare: CompareMethod) -> Int32
static Integer InStrRev(String aString, String Find, Integer Start, CompareMethod Compare)
Shared Function InStrRev(aString As String, Find As String, Start As Int32, Compare As CompareMethod) As Int32
Parameters:
- aString:
- Find:
- Start:
- Compare:
Join (array of Object, String): String virtual
static String Join(Object[] ObjectArray, String Delimiter)
Parameters:
- ObjectArray:
- Delimiter:
Join (array of String, String): String virtual
static String Join(String[] stringArray, String Delimiter)
Parameters:
- stringArray:
- Delimiter:
LCase (Char): Char virtual
static Char LCase(Char aChar)
Parameters:
- aChar:
LCase (String): String virtual
static String LCase(String aString)
Parameters:
- aString:
Left virtual
static String Left(String aString, Integer Length)
Parameters:
- aString:
- Length:
Len virtual
Parameters:
- aValue:
LSet virtual
static String LSet(String aString, Integer Length)
Parameters:
- aString:
- Length:
LTrim virtual
static String LTrim(String aString)
Parameters:
- aString:
Mid (String, Integer): String virtual
static String Mid(String aString, Integer Start)
Parameters:
- aString:
- Start:
Parameters:
- aString:
- Start:
- Length:
Replace virtual
class method Replace(aString: String; Find: String; Replacement: String; Start: Int32; MaxReplacements: Int32; Compare: CompareMethod): String
static String Replace(String aString, String Find, String Replacement, Int32 Start, Int32 MaxReplacements, CompareMethod Compare)
static func Replace(_ aString: String, _ Find: String, _ Replacement: String, _ Start: Int32, _ MaxReplacements: Int32, _ Compare: CompareMethod) -> String
static String Replace(String aString, String Find, String Replacement, Integer Start, Integer MaxReplacements, CompareMethod Compare)
Parameters:
- aString:
- Find:
- Replacement:
- Start:
- MaxReplacements:
- Compare:
Right virtual
static String Right(String aString, Integer Length)
Parameters:
- aString:
- Length:
RSet virtual
static String RSet(String aString, Integer Length)
Parameters:
- aString:
- Length:
RTrim virtual
static String RTrim(String aString)
Parameters:
- aString:
Space virtual
static String Space(Integer Count)
Parameters:
- Count:
Split virtual
class method Split(aString: String; Delimiter: String; MaxElements: Int32; Compare: CompareMethod): array of String
static String[] Split(String aString, String Delimiter, Int32 MaxElements, CompareMethod Compare)
static func Split(_ aString: String, _ Delimiter: String, _ MaxElements: Int32, _ Compare: CompareMethod) -> String...
static String[] Split(String aString, String Delimiter, Integer MaxElements, CompareMethod Compare)
Shared Function Split(aString As String, Delimiter As String, MaxElements As Int32, Compare As CompareMethod) As String()
Parameters:
- aString:
- Delimiter:
- MaxElements:
- Compare:
StrComp virtual
class method StrComp(String1: String; String2: String; Compare: CompareMethod): Int32
static Int32 StrComp(String String1, String String2, CompareMethod Compare)
static func StrComp(_ String1: String, _ String2: String, _ Compare: CompareMethod) -> Int32
static Integer StrComp(String String1, String String2, CompareMethod Compare)
Shared Function StrComp(String1 As String, String2 As String, Compare As CompareMethod) As Int32
Parameters:
- String1:
- String2:
- Compare:
Parameters:
- Count:
- aChar:
StrDup (Integer, String): String virtual
static String StrDup(Integer Count, String aString)
Parameters:
- Count:
- aString:
Parameters:
- Count:
- Character:
StrReverse virtual
static String StrReverse(String aString)
Parameters:
- aString:
Trim virtual
static String Trim(String aString)
Parameters:
- aString:
UCase (Char): Char virtual
static Char UCase(Char aChar)
Parameters:
- aChar:
UCase (String): String virtual
static String UCase(String aString)
Parameters:
- aString:
constructor protected Cooper, Island
constructor
Strings()
init()
Strings()
Sub New()