The Substring() function returns a subset of a text.

Syntax

Substring(text, length)
Substring(text, start_position, length)

Returns

A new text that is a subset of text beginning at a position through a number of characters.

Parameters

  • text – a text
  • start_position – (optional) the position to start from
  • length – the number of charachters that are taken from text

Examples

Substring("Important", 6)        /* "Import" */
Substring("Important", 2, 4)     /* "port" */
Substring("Blueberry", 100)      /* "" */
Substring("Blueberry", 4, 100)   /* "berry" */

Substring("Dan: \"Thank you!\".", 6) + "Welcome\"."    
/* returns "Dan: \"Welcome.\"." */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company