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 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 regexp 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 a copy an array of objects whose elements are segments of the string embedded within an current string.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 if
with the 
given
characters of a specified string, 
is
returning true 
equal
or 
to
false 
the
as 
string
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 that checks if the given string is equal to the string ignoring caseclients

Supported Clients

sIndentSmartClient,WebClient
string ends with the characters of a specified string, returning true or false as appropriate.
prs

Parameters

sIndent
other ;ret

Returns

sIndentsearchStringThe 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 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
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
if 
embedded
the 
within
given 
an <FONT> tag set,
string is equal to the 
color
string 
param is assigned the the color attribute.
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
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fromCharCodefontcolorname

fromCharCode

fontcolor(

num

color)

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

Parameters

sIndent
numcolor ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
indexOffontsizename

indexOf

fontsize(

searchValue, fromIndex

size)

dessIndent
returns 
the
a 
found index
copy of the string 
given
embedded 
string
within 
in string.prs
an <FONT> tag set, The size param is set to the SIZE attribute
prs

Parameters

sIndent
searchValuesize ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
italicsfromCharCodename

italics

fromCharCode(num)

dessIndent
returns a 
copy
string 
of
created 
the
by 
string
using 
embedded
the 
within
specified 
an <I> tag set
sequence of Unicode values.
prs

Parameters

sIndentnum ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
lastIndexOfincludesname

lastIndexOf

includes(

searchValue, fromIndex

)

dessIndent
returns
Determines 
the
whether 
found
one 
index
string 
of
may 
the
be 
given
found 
string
within 
in
another string
from the end
.
prsParameterssearchValue ;fromIndex ;
sIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
linkindexOfname

link

indexOf(

hrefAttribute

searchValue, fromIndex)

dessIndent
returns the 
a
found 
copy
index of the given string 
embedded within an <A> tag set
in string.
prs

Parameters

sIndent
hrefAttributesearchValue ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
localeCompareitalicsname

localeCompare

italics(

otherString

Parameters

sIndentotherString ;

)

dessIndent
prs
returns a copy of the string embedded within an <I> tag set
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
matchlastIndexOfname

match

lastIndexOf(

regexp

searchValue, fromIndex)

dessIndent
returns 
an
the found 
array
index of 
strings
the 
within
given 
the
string 
current
in string 
that matches
from the 
regexp
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 string where the matches
copy of the 
given
string 
regexp
embedded 
are
within 
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).
an <A> tag set.
prs

Parameters

sIndent
regexprethrefAttribute ;function ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacelocaleComparename

replace

localeCompare(

regexp, newSubStr

otherString)

dessIndent
returns a new string where the matches of the given regexp are replaced by newSubStr.
newSubStrprs

Parameters

sIndent
regexp ;otherString ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
replacematchname

replace

match(

substr, function

regexp)

dessIndent
returns an 
a
array 
new
of 
string
strings 
where
within the 
first
current string 
match
that 
of
matches 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
regexp.
prs

Parameters

sIndentregexp ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
normalizename

normalize()

dessIndent
Returns the Unicode Normalization Form of the string. (defaults to "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
replacenormalizename

replace

normalize(

substr, newSubStr

form)

dessIndent
returns
Returns the 
a
Unicode 
new
Normalization 
string
Form 
where
of the 
first
string.
match
form 
of
param 
the
can 
given
be 
substr
one 
is replaced by newSubStr.prs

Parameters

sIndentsubstr ;newSubStr ;ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRowsearchname

search(regexp)

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

Parameters

sIndentregexp ;ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRowslicename

slice(beginSlice)

dessIndent
returns a substring of the string.
prs

Parameters

sIndentbeginSlice ;ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRowslicename

slice(beginSlice, endSlice)

dessIndent
returns a substring of the string.
prs

Parameters

sIndentbeginSlice ;endSlice ;
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

sIndentbeginSlice ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
slicename

slice(beginSlice, endSlice)

dessIndent
returns a substring of the string.
prs

Parameters

sIndentbeginSlice ;endSlice ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
smallname

small()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
splitname

split(separator, limit)

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
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
splitname

split(separator, limit)

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
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
smallstartsWithname

small

startsWith(searchString)

dessIndent
returns
Determines whether a
copy
 string begins with the characters of a 
the
specified string, returning true 
embedded
or 
within
false 
an <SMALL> tag set.
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 
stringlimit ;
appropriate.
prs

Parameters

sIndent
separator ;searchStringThe 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