Text Supplier

Overview

Provides information about text values.

Details

Name:

Text Supplier

Prefix:

text(optional)

Supported Content:

Text

Provided By:

Reporting for Confluence

Supported Keys

List of keys that this supplier returns a value for.

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

size

Text

Number

The number of characters in the text value.

trim

Text

Text

Trims any white space (spaces, tabs, etc) from the text value.

 Trim only works for plain text, and currently does not support Rich text.

lower case

Text

Text

Converts the text to lower case.

upper case

Text

Text

Converts the text to upper case.

first [X]

Text

Text

Trims the text to only include the first X characters.

For example

  • first 10

after first [X]

Text

Text

Trims the text to only include characters after the first X. From v4.0.0

For example

  • after first 10

last [X]

Text

Text

Trims the text to only include the last X characters.

For example

  • last 15

before last [X]

Text

Text

Trims the text to only include characters before the last X characters. From v4.0.0

For example

  • before last 10

url encode

Text

Text

URL-encodes the text value so it is safe to include in a URL.

html escape

Text

Text

Escapes any special HTML characters so they will display correctly in HTML content.

xml escape

Text

Text

Escapes any special XML characters so they will display correctly in XML content.

equals [X]

Text

Boolean

Tests if the text equals the 'X' value supplied. From v2.0.0

For example

  • equals Foo Bar

This is case-sensitive.

starts with [X]

Text

Boolean

Tests if the text starts with the 'X' value supplied. From v2.0.0

For example

  • starts with Foo

This is case-sensitive.

ends with [X]

Text

Boolean

Tests if the text ends with the 'X' value supplied. From v2.0.0

For example

  • ends with Bar

This is case-sensitive.

match [X]

Text

Match

Tries to match the current complete text value with the specified regular expression. From v3.1.0

find [X]

Text

List of Matches

Tries to match a subset of the current text value with the specified regular expression. From v3.1.0

split with [X]

Text

List of Text

Splits the text value into chunks, divided by sub-text that matches the specified regular expression. From v3.2.0

as number [X]

Text

Number

Converts the text into a Number, using the provided format to parse it. From v3.2.0

as date [X]

Text

Date

Tries to convert the text value into a Date based on the provided format. From v3.2.0

is empty

Text

Boolean

Is true if the text value has no characters. From v3.2.0

is blank

Text

Boolean

Is true if the text value is empty or all characters are white-space. From v3.2.0