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.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 where the matches of the given regexp 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 <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
 equalsname

equals(other)

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

Parameters

sIndentother
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 equalsIgnoreCasename

equalsIgnoreCase(other)

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

Parameters

sIndentother
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 fixedname

fixed()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 fontcolorname

fontcolor(color)

dessIndent
returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute.
prs

Parameters

sIndentcolor
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 fontsizename

fontsize(size)

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

Parameters

sIndentsize
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 fromCharCodename

fromCharCode(num)

dessIndent
returns a string created by using the specified sequence of Unicode values.
prs

Parameters

sIndentnum
&nbsp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 indexOfincludesname

indexOf

includes(

searchValue, fromIndexsearchValue fromIndex 

)

dessIndent
returns the found index of the given string in string.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
 italicsindexOfname

italics

indexOf(searchValue, fromIndex)

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

Parameters

sIndentsearchValue ;fromIndex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 lastIndexOfitalicsname

lastIndexOf

italics(

searchValue, fromIndexsearchValue fromIndex 

)

dessIndent
returns the found index of the given string in string from the end.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
 linklastIndexOfname

link

lastIndexOf(

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 from the end.
prs

Parameters

sIndent
hrefAttribute&searchValue ;fromIndex ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 localeComparelinkname

localeCompare

link(

otherString

Parameters

sIndentotherString 

hrefAttribute)

dessIndent
prs
returns 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
 matchlocaleComparename

match

localeCompare(

regexp

otherString)

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

Parameters

sIndent
regexp&nbspotherString ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 replacematchname

replace

match(regexp

, functionregexp 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

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
 replacename

replace(regexp,

newSubStr

function)

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

Parameters

sIndentregexp newSubStr&nbsp
 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 regexp 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
 replacesearchname

replace

search(

substr, 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).function 
returns an index where the first match is found of the regexp
prs

Parameters

sIndent
substr regexp ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 replaceslicename

replace

slice(

substr, newSubStr

beginSlice)

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

Parameters

sIndent
substr newSubStr&nbspbeginSlice ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 searchslicename

search

slice(

regexp

beginSlice, endSlice)

dessIndent
returns an index where the first match is found of the regexp
returns a substring of the string.
prs

Parameters

sIndent
regexp&nbspbeginSlice ;endSlice ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 slicesmallname

slice

small(

beginSlice

)

dessIndent
returns a
substring
 copy of
the string.prs

Parameters

sIndentbeginSlice beginSlice endSlice 
 the string embedded within an <SMALL> tag set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 slicename

slice(beginSlice, endSlice)

dessIndentreturns a substring of the string.prs

Parameters

sIndentsplitname

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
 smallsplitname

small

split(

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

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
 splitstrikename

split

strike(

separator, limitseparator limit 

)

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

Parameters

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

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

sIdentjavascript
lastDetailRow
 subsubstrname

sub

substr(start)

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

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 substrsubstringname

substr

substring(

start, length

indexA)

des
sIndentreturns a substring of the string from the start with the number of chars specified.length sIndent
Returns a substring of the string from the start 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
&nbsp ;indexB ;ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 substringsupname

substring

sup(

indexA, indexBindexA indexB 

)

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

Parameters

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

sup

toLocaleLowerCase()

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
 toLocaleLowerCasetoLocaleUpperCasename

toLocaleLowerCase

toLocaleUpperCase()

dessIndentret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toLocaleUpperCasetoLowerCasename

toLocaleUpperCase

toLowerCase()

dessIndent

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 toLowerCasetoUpperCasename

toLowerCase

toUpperCase()

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

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
 toUpperCasetrimname

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