NCL Home > Documentation > Functions > String manipulation

changeCase

Changes the case of a string.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"

	function changeCase (
		x     : string,  
		case  : string   
	)

	return_val  :  string

Arguments

x

A string.

case

A string equal to the case. ("up" or "low").

Return value

A string of the same size as x.

Description

Changes case of a string to the case specified. Recognizes "up" and "low".

See Also

changeCaseChar