9 12 CENTRE

LANSA Technical

9.12 CENTRE

Þ Note: Built-In Function Rules.

Centers argument string into return string.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

YES

 

 

Arguments

The following table shows the arguments used in this function.

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

String to be centered

1

256

 

 

2

A

Opt

Remove imbedded blanks flag

Values:

Y = remove

N = do not remove

Default: N

1

1

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return centered string

1

256