CASE_RESTORE()

Syntax

Restored_String as C = CASE_RESTORE( Preserved_String as C )

Argument

Description

Preserved_String

A character string generated by the CASE_PRESERVE()function.

Description

CASE_RESTORE() returns the original character string (encoded by the CASE_PRESERVE()function) with its initial pattern of upper and lower case characters.

Supported By

Alpha Five Version 5 and Above

Example

dim astr as C

astr = "Alpha Software"

astr = case_preserve(astr)

astr   ->   "Alpha Software8200"

astr = lower(astr)

astr   ->   "alpha software8200"

astr = case_restore(astr)

astr   ->   "Alpha Software"

See Also

CASE_PRESERVE(), Character Case Functions