Globals
Stimulsoft
System
StiString
Class StiString
Hierarchy
StiObject
StiString
Implements
IAsIs
IAsIs
Index
Constructors
constructor
Properties
value
stimulsoft
Methods
as
compare
To
contains
ends
With
equals
from
Unicode
String
get
Hash
Code
get
Net
Type
Name
get
Type
get
Type
Name
index
OfAny
insert
is
is2
is
Base64
String
memberwise
Clone
pad
Left
pad
Right
regex
Index
Of
regex
Last
Index
Of
remove
replace
All
split
starts
With
to
Boolean
to
Bytes
Array
to
Lower
First
to
Number
to
String
to
Unicode
String
trim
End
trim
Start
add
Event
compare
To
custom
Format
disable
All
Enumerable
equals
fill
format
format1
from
Bytes
Array
get
Own
Property
Names
index
OfAny
init
is
Null
OrEmpty
is
Null
OrUndefined
is
Null
OrWhite
Space
join
keys
merge
Deep
parse
Format
String
reference
Equals
repeat
save
As
Constructors
constructor
new
Sti
String
(
value
:
any
)
:
StiString
Parameters
value:
any
Returns
StiString
Properties
value
value
:
string
Static
stimulsoft
stimulsoft
:
symbol
= Symbol("stimulsoft")
Methods
as
as
(
type
:
any
)
:
any
Parameters
type:
any
Returns
any
compare
To
compare
To
(
strB
:
string
)
:
number
Parameters
strB:
string
Returns
number
contains
contains
(
str
:
string
)
:
boolean
Parameters
str:
string
Returns
boolean
ends
With
ends
With
(
value
:
string
, ignoreCase
?:
boolean
)
:
boolean
Parameters
value:
string
Default value
ignoreCase:
boolean
= false
Returns
boolean
equals
equals
(
...
args
:
any
[]
)
:
boolean
Parameters
Rest
...
args:
any
[]
Returns
boolean
from
Unicode
String
from
Unicode
String
(
)
:
string
Returns
string
get
Hash
Code
get
Hash
Code
(
...
args
:
any
[]
)
:
number
Parameters
Rest
...
args:
any
[]
Returns
number
get
Net
Type
Name
get
Net
Type
Name
(
)
:
string
Returns
string
get
Type
get
Type
(
)
:
Type
Returns
Type
get
Type
Name
get
Type
Name
(
)
:
string
Returns
string
index
OfAny
index
OfAny
(
values
:
string
[]
)
:
number
Parameters
values:
string
[]
Returns
number
insert
insert
(
startIndex
:
number
, value
:
string
, removeLength
?:
number
)
:
string
Parameters
startIndex:
number
value:
string
Default value
removeLength:
number
= 0
Returns
string
is
is
(
type
:
any
)
:
boolean
Parameters
type:
any
Returns
boolean
is2
is2<T>
(
type
:
object
|
Interface
<
T
>
)
:
boolean
Type parameters
T
Parameters
type:
object
|
Interface
<
T
>
Returns
boolean
is
Base64
String
is
Base64
String
(
)
:
boolean
Returns
boolean
memberwise
Clone
memberwise
Clone
(
isBase
?:
boolean
)
:
any
Parameters
Default value
isBase:
boolean
= false
Returns
any
pad
Left
pad
Left
(
totalWidth
:
number
, paddingChar
?:
string
)
:
string
Parameters
totalWidth:
number
Default value
paddingChar:
string
= " "
Returns
string
pad
Right
pad
Right
(
totalWidth
:
number
, paddingChar
?:
string
)
:
string
Parameters
totalWidth:
number
Default value
paddingChar:
string
= " "
Returns
string
regex
Index
Of
regex
Index
Of
(
regex
:
RegExp
, startpos
:
number
)
:
number
Parameters
regex:
RegExp
startpos:
number
Returns
number
regex
Last
Index
Of
regex
Last
Index
Of
(
regex
:
RegExp
, startpos
:
number
)
:
number
Parameters
regex:
RegExp
startpos:
number
Returns
number
remove
remove
(
startIndex
:
number
, count
?:
number
)
:
string
Parameters
startIndex:
number
Default value
count:
number
= Number.MAX_VALUE
Returns
string
replace
All
replace
All
(
searchValue
:
string
, replaceValue
:
string
, startIndex
?:
number
, count
?:
number
)
:
string
Parameters
searchValue:
string
replaceValue:
string
Optional
startIndex:
number
Optional
count:
number
Returns
string
split
split
(
...
separators
:
string
[]
)
:
string
[]
Parameters
Rest
...
separators:
string
[]
Returns
string
[]
starts
With
starts
With
(
value
:
string
, ignoreCase
?:
boolean
)
:
boolean
Parameters
value:
string
Default value
ignoreCase:
boolean
= false
Returns
boolean
to
Boolean
to
Boolean
(
)
:
boolean
Returns
boolean
to
Bytes
Array
to
Bytes
Array
(
)
:
number
[]
Returns
number
[]
to
Lower
First
to
Lower
First
(
)
:
string
Returns
string
to
Number
to
Number
(
float
?:
boolean
)
:
number
Parameters
Default value
float:
boolean
= true
Returns
number
to
String
to
String
(
)
:
string
Returns
string
to
Unicode
String
to
Unicode
String
(
)
:
string
Returns
string
trim
End
trim
End
(
char
?:
string
)
:
string
Parameters
Default value
char:
string
= " "
Returns
string
trim
Start
trim
Start
(
char
?:
string
)
:
string
Parameters
Default value
char:
string
= " "
Returns
string
Static
add
Event
add
Event
(
element
:
any
, eventName
:
string
, fn
:
Function
)
:
void
Parameters
element:
any
eventName:
string
fn:
Function
Returns
void
Static
compare
To
compare
To
(
a
:
any
, b
:
any
)
:
number
Parameters
a:
any
b:
any
Returns
number
Static
custom
Format
custom
Format
(
arg
:
any
, format
:
string
)
:
string
Parameters
arg:
any
format:
string
Returns
string
Static
disable
All
Enumerable
disable
All
Enumerable
(
prototype
:
any
, obj
:
any
)
:
void
Parameters
prototype:
any
obj:
any
Returns
void
Static
equals
equals
(
objA
:
any
, objB
:
any
)
:
boolean
Parameters
objA:
any
objB:
any
Returns
boolean
Static
fill
fill
(
value
:
string
, count
:
number
)
:
string
Parameters
value:
string
count:
number
Returns
string
Static
format
format
(
str
:
string
,
...
values
:
any
[]
)
:
string
Parameters
str:
string
Rest
...
values:
any
[]
Returns
string
Static
format1
format1
(
str
:
string
, values
:
any
[]
)
:
string
Parameters
str:
string
values:
any
[]
Returns
string
Static
from
Bytes
Array
from
Bytes
Array
(
bytes
:
number
[]
)
:
string
Parameters
bytes:
number
[]
Returns
string
Static
get
Own
Property
Names
get
Own
Property
Names
(
obj
:
any
)
:
string
[]
Parameters
obj:
any
Returns
string
[]
Static
index
OfAny
index
OfAny
(
str
:
string
, searchChars
:
string
[]
)
:
number
Parameters
str:
string
searchChars:
string
[]
Returns
number
Static
init
init
(
)
:
void
Returns
void
Static
is
Null
OrEmpty
is
Null
OrEmpty
(
value
:
string
)
:
boolean
Parameters
value:
string
Returns
boolean
Static
is
Null
OrUndefined
is
Null
OrUndefined
(
obj
:
any
)
:
boolean
Parameters
obj:
any
Returns
boolean
Static
is
Null
OrWhite
Space
is
Null
OrWhite
Space
(
value
:
string
)
:
boolean
Parameters
value:
string
Returns
boolean
Static
join
join
(
separator
:
string
, value
:
string
[]
)
:
string
Parameters
separator:
string
value:
string
[]
Returns
string
Static
keys
keys
(
obj
:
any
)
:
string
[]
Parameters
obj:
any
Returns
string
[]
Static
merge
Deep
merge
Deep
(
target
:
any
,
...
sources
:
any
[]
)
:
any
Parameters
target:
any
Rest
...
sources:
any
[]
Returns
any
Static
parse
Format
String
parse
Format
String
(
formatString
:
string
, values
:
any
[]
)
:
string
Parameters
formatString:
string
values:
any
[]
Returns
string
Static
reference
Equals
reference
Equals
(
objA
:
any
, objB
:
any
)
:
boolean
Parameters
objA:
any
objB:
any
Returns
boolean
Static
repeat
repeat
(
value
:
string
, n
:
number
)
:
string
Parameters
value:
string
n:
number
Returns
string
Static
save
As
save
As
(
data
:
any
, fileName
:
string
, type
?:
string
)
:
void
Parameters
data:
any
fileName:
string
Default value
type:
string
= "application/octet-stream"
Returns
void
Globals
Sti
Options
Stimulsoft
Base
Blockly
Dashboard
Data
Designer
Report
System
Collections
Crypt
Data
Drawing
Globalization
IO
Internals
Text
Xml
Viewer
Sti
String
constructor
value
stimulsoft
as
compare
To
contains
ends
With
equals
from
Unicode
String
get
Hash
Code
get
Net
Type
Name
get
Type
get
Type
Name
index
OfAny
insert
is
is2
is
Base64
String
memberwise
Clone
pad
Left
pad
Right
regex
Index
Of
regex
Last
Index
Of
remove
replace
All
split
starts
With
to
Boolean
to
Bytes
Array
to
Lower
First
to
Number
to
String
to
Unicode
String
trim
End
trim
Start
add
Event
compare
To
custom
Format
disable
All
Enumerable
equals
fill
format
format1
from
Bytes
Array
get
Own
Property
Names
index
OfAny
init
is
Null
OrEmpty
is
Null
OrUndefined
is
Null
OrWhite
Space
join
keys
merge
Deep
parse
Format
String
reference
Equals
repeat
save
As
Generated using
TypeDoc