Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

substring(str, start, stop)

Package


Alias


Pkg Usage


Description

Excerpt
hiddentrue

Returns substring is starting at index start and stop at index stop.

Returns substring is starting at index start and stop at index stop. The substring returned has length stop - start. First position of character expression str is 0. If index start is not initialized or -1, it will be set on 0. If index stop is not initialized or -1, it will be set on end of the string.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

str

String

Yes

Specifies a character expression the character string is returned from.

start

Number

Yes

Specifies the position in the character expression str the character string is returned from.

stop

Number

Yes

Specifies the position in the character expression str the character string is returned from.

Return Type

String

Examples

...

Note

If stop is equal start or start is greater than the maximum length of character expression str, substring returns an empty string.


See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "string_routine" and space = currentSpace ( )
labelsarray_routines