title

Purpose

Converts a string to title capitalization.

This function is the alias for the totitle() function.

Syntax

title($group)

or

title(string)

Arguments

Requires a single argument of a string value (named group or constant).

Returned Value

The same string in title capitalization.

Examples

Dataset

XPDL rule

Result

I like this book.

rule: r1

{

query: {stem(verb)}:1

result: Match = title($1)

}

Like

SHE LIKES THIS BOOK.

Likes

he likes books.

Likes

We LikE BooKs.

Like