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 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 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
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 bigname

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
&nbsp ;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
&nbsp ;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
&nbsp ;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
&nbsp ;stringN&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 equalsendsWithname

equals

endsWith(

other

searchString)

dessIndent
returns a boolean that checks if the given string is equal to the string
Determines whether a string ends with the characters 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.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(

otherother ret

Returns

sIndent

searchString, length)

dessIndent
returns a boolean that checks if the given string is equal to the string ignoring caseprs

Parameters

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

Parameters

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 copy of the string embedded within an anchor <TT> tag set.
 a boolean that checks if the given string is equal to 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 of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute.
 a boolean that checks if the given string is equal to the string ignoring case
prs

Parameters

sIndent
color&nbspother ;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 
 set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 fromCharCodefontcolorname

fromCharCode

fontcolor(

num

color)

dessIndent
returns
a string created by using the specified sequence of Unicode values.&nbsp
 a copy of the string embedded 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 found index of the given string in string.fromIndex ret
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute
prs

Parameters

sIndent
searchValue size ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 italicsfromCharCodename

italics

fromCharCode(num)

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

Parameters

sIndentnum ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 lastIndexOfincludesname

lastIndexOf(searchValue, fromIndex)searchValue fromIndex 

includes()

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

Parameters

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 linkindexOfname

link

indexOf(

hrefAttribute

searchValue, fromIndex)

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

Parameters

sIndent
hrefAttribute&searchValue ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 localeCompareitalicsname

localeCompare

italics(

otherStringotherString retReturns

)

dessIndent
prs

Parameters

sIndent
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 array of strings within the current string that matches the regexp.
returns the found index of the given string in string from the end.
prs

Parameters

sIndent
regexp&nbspsearchValue ;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 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 
 a copy of the string embedded within an <A> tag set.
prs

Parameters

sIndenthrefAttribute ;
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.prs

Parameters

sIndent
regexp newSubStr&nbspotherString ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 replacematchname

replace

match(

substr, functionsubstr function 

regexp)

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

sIndent
returns an array of strings within the current string that matches the regexp.
prs

Parameters

sIndentregexp ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 replacenormalizename

replace

normalize(

substr, newSubStrsubstr newSubStr 

)

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

Parameters

sIndent
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
 searchnormalizename

search

normalize(

regexpregexp 

form)

dessIndent
returns an index where the first match is found of the regexpprs

Parameters

sIndent
Returns the Unicode Normalization Form of the string.
form param can be one 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
 slicestartsWithname

slice

startsWith(

beginSlice

searchString)

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

Parameters

sIndent
beginSlice searchStringThe 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
 slicestartsWithname

slice

startsWith(

beginSlice

searchString,

endSlicebeginSlice endSlice ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRow smallname

small()

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

Returns

sIndent

position)

des
sIndentreturns a substring of the string.prs

Parameters

sIndentsIndent
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.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
 splitstrikename

split

strike(

separator, limitseparator limit 

)

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

Parameters

sIndentstrike
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

strike

sub()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascriptlastDetailRow subname

sub()

dessIndentreturns a copy of the string embedded within an <SUB> tag set.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
&nbspsubstr ;length ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 substringname

substr

substring(

start, length

indexA)

dessIndent
returns
Returns a substring of the string from the start
with the number of chars specified.length&nbsp
 index until the end index.
prs

Parameters

sIndent
start indexA ;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
&nbspsubstring ;indexB ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 supname

substring

sup(

indexA, indexB

)

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

Parameters

sIndentindexA indexB sup
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

sup

toLocaleLowerCase()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toLocaleUpperCasename

toLocaleLowerCasetoLocaleUpperCasename

toLocaleUpperCase()

dessIndent

toLocaleUpperCase()

dessIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toLowerCasetoLowerCasename

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

toLowerCase

toUpperCase()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 trimname

toUpperCase

trim()

dessIndent
returns a string with all uppercase letters of the current string.
Returns the string stripped of whitespace from both ends.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow