Child pages
  • String

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryGives the length of the string.

servoy sSummary12%30%58%height: 30px;3Methods Summaryreturns a copy of the string embedded within an anchor <A> tag set.returns a copy of the string embedded within an <BIG> tag set.returns a copy of the string embedded within an <BLINK> tag set.returns a copy of the string embedded within an <B> tag set.returns a character of the string.returns a decimal code of the char in the string.returns a string that appends the parameter string to the string.returns a string that appends the parameter string to the string.Determines whether a string ends with the characters of a specified string, returning true or false as appropriate.Determines whether a string ends with the characters of a specified string, returning true or false as appropriate.returns a boolean that checks if the given string is equal to the stringreturns a boolean that checks if the given string is equal to the string ignoring casereturns a copy of the string embedded within an anchor <TT> tag set.returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute.returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attributereturns a string created by using the specified sequence of Unicode values.Determines whether one string may be found within another string.returns the found index of the given string in string.returns a copy of the string embedded within an <I> tag setreturns the found index of the given string in string from the end.returns a copy of the string embedded within an <A> tag set.returns an array of strings within the current string that matches the regexp.returns a new string where the matches of the given regexp are replaced by the return value of the function.returns a new string Returns the Unicode Normalization Form of the string.Returns the Unicode Normalization Form of the string.Constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.returns a new string where the matches of the given regexp are replaced by the return value of the function.returns a new string where the matches of the given reg exp are replaced by newSubStr.returns a new string where the first match of the given substr is replaced by the return value of the function.returns a new string where the first match of the given substr is replaced by newSubStr.returns an index where the first match is found of the regexpreturns a substring of the string.returns a substring of the string.returns a copy of the string embedded within an <SMALL> tag set.returns an array of objects whose elements are segments of the current string.returns an array of objects whose elements are segments of the current string.returns a copy of the string embedded within an &Determines whether a string begins with the characters of a specified string, returning true or false as appropriate.Determines whether a string begins with the characters of a specified string, returning true or false as appropriate.returns a copy of the string embedded within an <STRIKE> tag set.returns a copy of the string embedded within an <SUB> tag set.returns a substring of the string from the start with the number of chars specified.returns a substring of the string from the start with the number of chars specified.Returns a substring of the string from the start index until the end index.Returns a substring of the string from the start index until the end index.returns a copy of the string embedded within an <SUP> tag set.returns a string with all lowercase letters of the current string.returns a string with all uppercase letters of the current string.Returns the string stripped of whitespace from both ends.

propertyservoy sDetail2100%height:30px2Property Detailslengthname

length

dessIndent
Gives the length of the string.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods Detailsanchorname

anchor(nameAttribute)

dessIndent
returns a copy of the string embedded within an anchor <A> tag set.
prs

Parameters

sIndentnameAttribute ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowbigname

big()

dessIndent
returns a copy of the string embedded within an <BIG> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
blinkname

blink()

dessIndent
returns a copy of the string embedded within an <BLINK> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
boldname

bold()

dessIndent
returns a copy of the string embedded within an <B> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
charAtname

charAt(index)

dessIndent
returns a character of the string.
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
charCodeAtname

charCodeAt(index)

dessIndent
returns a decimal code of the char in the string.
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
concatname

concat(string2)

dessIndent
returns a string that appends the parameter string to the string.
prs

Parameters

sIndentstring2 ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
concatname

concat(string2, stringN)

dessIndent
returns a string that appends the parameter string to the string.
prs

Parameters

sIndentstring2 ;stringN ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
equalsendsWithname

equals

endsWith(

other

searchString)

dessIndent
returns
Determines whether a 
boolean
string 
that
ends 
checks
with 
if
the 
given
characters 
string
of 
is
a 
equal
specified 
to
string, 
the string
returning true or false as appropriate.
prs

Parameters

sIndent
other ;searchStringThe characters to be searched for at the end of str.ret

Returns

sIndent true if the given characters are found at the end of the string; otherwise, false
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
equalsIgnoreCaseendsWithname

equalsIgnoreCase

endsWith(

other

searchString, length)

dessIndent
returns
Determines whether a 
boolean
string 
that
ends 
checks if
with the 
given
characters 
string is equal to the string ignoring case
of a specified string, returning true or false as appropriate.
prs

Parameters

sIndent
other ;searchStringThe characters to be searched for at the end of str.lengthIf provided, it is used as the length of str. Defaults to str.length.ret

Returns

sIndent
clients

Supported Clients

sIndent true if the given characters are found at the end of the string; otherwise, falseclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fixedequalsname

fixed

equals(other)

dessIndent
returns a boolean that 
copy
checks 
of
if the given string 
embedded
is 
within
equal 
an
to 
anchor <TT> tag set.
the string
prs

Parameters

sIndentother ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fontcolorequalsIgnoreCasename

fontcolor

equalsIgnoreCase(

color

other)

dessIndent
returns a 
copy
boolean 
of
that 
the
checks 
string embedded within an <FONT> tag set, the color param is assigned the the color attribute.
if the given string is equal to the string ignoring case
prs

Parameters

sIndent
colorother ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fontsizefixedname

fontsize

fixed(

size

)

dessIndent
returns a copy of the string embedded within an anchor <
FONT
TT> tag set
, The size param is set to the SIZE attributeprs

Parameters

sIndentsize ;ret

Returns

sIndent
.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fromCharCodefontcolorname

fromCharCode

fontcolor(

num

color)

dessIndent
returns a copy of the string 
created by using
embedded within an <FONT> tag set, the 
specified
color 
sequence
param 
of
is 
Unicode values
assigned the the color attribute.
prs

Parameters

sIndent
numcolor ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
includesfontsizename

includes

fontsize(size)

dessIndent
Determines whether one string may be found within another string.ret

Returns

sIndent
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute
prs

Parameters

sIndentsize ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
indexOffromCharCodename

indexOf

fromCharCode(

searchValue, fromIndex

num)

dessIndent
returns a 
the
string 
found
created 
index
by 
of
using the specified 
given
sequence 
string
of 
in
Unicode 
string
values.
prs

Parameters

sIndent
searchValuenum ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
italicsincludesname

italics

includes()

dessIndent
returns
Determines 
a
whether 
copy
one 
of
string 
the
may 
string
be 
embedded
found within 
an <I> tag setret
another string.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
lastIndexOfindexOfname

lastIndexOf

indexOf(searchValue, fromIndex)

dessIndent
returns the found index of the given string in string
from the end
.
prs

Parameters

sIndentsearchValue ;fromIndex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
linkitalicsname

link

italics(

hrefAttribute

)

dessIndent
returns a copy of the string embedded within an <
A
I> tag set
.prsParameters
sIndenthrefAttribute ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
localeComparelastIndexOfname

localeCompare

lastIndexOf(

otherString

Parameters

sIndentotherString ;ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRowmatchname

match(regexp)

dessIndentreturns an array of strings within the current string that matches the regexp

searchValue, fromIndex)

dessIndent
prs
returns the found index of the given string in string from the end.
prs

Parameters

sIndent
regexpsearchValue ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacelinkname

replace

link(

regexp, function

hrefAttribute)

dessIndent
returns a 
new
copy 
string
of 
where
the 
matches
string 
of
embedded 
the
within 
given regexp are replaced by the return value of the function. The function parameter is the function to be invoked to create the new substring (to put in place of the substring received from parameter #1).prs

Parameters

sIndentregexp ;function
an <A> tag set.
prs

Parameters

sIndenthrefAttribute ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
localeComparename

localeCompare(otherString)

dessIndentprs

Parameters

sIndentotherString ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacematchname

replace

match(regexp

, newSubStr

)

dessIndent
returns 
a
an 
new
array 
string
of 
where
strings 
the
within 
matches of
the 
given
current 
regexp
string 
are
that 
replaced
matches 
by
the 
newSubStrnewSubStr
regexp.
prs

Parameters

sIndentregexp
; ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacenormalizename

replace

normalize(

substr, function

)

dessIndent
returns
Returns 
a
the 
new
Unicode 
string where the first match
Normalization Form of the 
given
string. 
substr
(defaults 
is
to 
replaced by the return value
"NFC" form)
ret

Returns

sIndent A string containing the Unicode Normalization Form of the given string.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
normalizename

normalize(form)

dessIndent
Returns the Unicode Normalization Form of the 
function
string.
The
form 
function
param can 
parameter
be 
is
one 
the function to be invoked to create the new substring (to put in place of the substring received from parameter #1)function
of "NFC", "NFD", "NFKC", or "NFKD", specifying the Unicode Normalization Form. If omitted or undefined, "NFC" is used.

These values have the following meanings:

"NFC"
Canonical Decomposition, followed by Canonical Composition.
"NFD"
Canonical Decomposition.
"NFKC"
Compatibility Decomposition, followed by Canonical Composition.
"NFKD"
Compatibility Decomposition.
prs

Parameters

sIndentformparam can be one of "NFC", "NFD", "NFKC", or "NFKD",
ret

Returns

sIndent A string containing the Unicode Normalization Form of the given string.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
repeatname

repeat(count)

dessIndent
Constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
prs

Parameters

sIndentcountAn integer between 0 and +Infinity, indicating the number of times to repeat the string.
ret

Returns

sIndent A new string containing the specified number of copies of the given string.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacename

replace(regexp, function)

dessIndent
returns a new string where the matches of the given regexp are replaced by the return value of the function.
The function parameter is the function to be invoked to create the new substring (to put in place of the substring received from parameter #1).
prs

Parameters

sIndentregexp ;function ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacename

replace(regexp, newSubStr)

dessIndent
returns a new string where the matches of the given reg exp are replaced by newSubStr.
prs

Parameters

sIndentregexp ;newSubStr ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacename

replace(substr, function)

dessIndent
returns a new string where the first match of the given substr is replaced by the return value of the function.
The function parameter is the function to be invoked to create the new substring (to put in place of the substring received from parameter #1).
prs

Parameters

sIndentsubstr ;function ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacename

replace(substr, newSubStr)

dessIndent
returns a new string where the first match of the given substr is replaced by newSubStr.
prs

Parameters

sIndentsubstr ;newSubStr ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
searchname

search(regexp)

dessIndent
returns an index where the first match is found of the regexp
prs

Parameters

sIndentregexp ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
slicename

slice(beginSlice)

dessIndent
returns a substring of the string.
prs

Parameters

sIndent
substr ;beginSlice ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replaceslicename

replace

slice(

substr

beginSlice,

newSubStr

endSlice)

dessIndent
returns a
new string where the first match
 substring of the 
given substr is replaced by newSubStr
string.
prs

Parameters

sIndent
substrbeginSlice ;newSubStrendSlice ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
searchsmallname

search

small(

regexp

)

dessIndent
returns 
an
a 
index
copy 
where
of the 
first
string 
match
embedded 
is
within 
found of the regexpprs

Parameters

sIndentregexp ;
an <SMALL> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
slicesplitname

slice

split(

beginSlice

separator, limit)

dessIndent
returns
a substring
 an array of objects whose elements are segments of the current string.
prs

Parameters

sIndent
beginSlice ;separatorSpecifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters.limitOptional integer specifying a limit on the number of splits to be found.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
slicesplitname

slice

split(

beginSlice

separator,

endSlice

limit)

dessIndent
returns 
a
an 
substring
array of objects 
the string.prs

Parameters

sIndentbeginSlice ;endSlice ;ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRowsmallname

small()

dessIndentreturns a copy
whose elements are segments of the 
string embedded within an <SMALL> tag set.
current string.
prs

Parameters

sIndentseparatorSpecifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters.limitOptional integer specifying a limit on the number of splits to be found.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
splitstartsWithname

split

startsWith(

separator, limit

searchString)

dessIndent
returns an array of objects whose elements are segments of the current string.prs

Parameters

sIndentseparatorSpecifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters.limitOptional integer specifying a limit on the number of splits to be found.ret

Returns

sIndent
Determines whether a string begins with the characters of a specified string, returning true or false as appropriate.
prs

Parameters

sIndentsearchStringThe characters to be searched for at the start of this string.
ret

Returns

sIndent true if the given characters are found at the beginning of the string; otherwise, false
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
splitstartsWithname

split

startsWith(

separator

searchString,

limit

position)

dessIndent
returns an array
Determines whether a string begins with the characters of 
objects
a 
whose
specified 
elements
string, 
are
returning 
segments
true 
of
or 
the
false 
current
as 
string
appropriate.
prs

Parameters

sIndent
separatorSpecifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters.limitOptional integer specifying a limit on the number of splits to be foundsearchStringThe characters to be searched for at the start of this string.positionThe position in this string at which to begin searching for searchString. Defaults to 0.ret

Returns

sIndent true if the given characters are found at the beginning of the string; otherwise, false
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
strikename

strike()

dessIndent
returns a copy of the string embedded within an <STRIKE> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
subname

sub()

dessIndent
returns a copy of the string embedded within an <SUB> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
substrname

substr(start)

dessIndent
returns a substring of the string from the start with the number of chars specified.
prs

Parameters

sIndentstart ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
substrname

substr(start, length)

dessIndent
returns a substring of the string from the start with the number of chars specified.
prs

Parameters

sIndentstart ;length ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
substringname

substring(indexA)

dessIndent
Returns a substring of the string from the start index until the end index.
prs

Parameters

sIndentindexA ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
substringname

substring(indexA, indexB)

dessIndent
Returns a substring of the string from the start index until the end index.
prs

Parameters

sIndentindexA ;indexB ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
supname

sup()

dessIndent
returns a copy of the string embedded within an <SUP> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleLowerCasename

toLocaleLowerCase()

dessIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleUpperCasename

toLocaleUpperCase()

dessIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLowerCasename

toLowerCase()

dessIndent
returns a string with all lowercase letters of the current string.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toUpperCasename

toUpperCase()

dessIndent
returns a string with all uppercase letters of the current string.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
trimname

trim()

dessIndent
Returns the string stripped of whitespace from both ends.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow