Chapter 5 Customizing Generation with GTL


.lowercase and .uppercase macros

The .lowercase macro transforms a text block in lowercase characters.

.lowercase
	block-input
.endlowercase

This macro transforms a text block in uppercase characters.

.uppercase
	block-input
.enduppercase

These macros are particularly useful when working with naming conventions (see "Naming conventions", in the Models chapter of the Core Features Guide ).

The following parameters are available:

Parameter Description
block-input Parameter used to input text

Type: Complex template

In the following example, the variable %Comment% contains the string HELLO WORLD, which is converted to hello world.

.lowercase
	%Comment%
.endlowercase

 


Copyright (C) 2008. Sybase Inc. All rights reserved.