SourcePoint Intel Help

Table of Contents

_strlwr

Convert a string to lowercase.

Syntax

[result = ] _strlwr(string)

Where:

result

specifies an nstring variable to which the function return value is assigned. If result is not specified, the return value is displayed on the next line of the screen.

string

is an nstring variable.

Discussion

The _strlwr function converts any uppercase letters in a string to lowercase. ย All other characters are left unchanged. ย The return value can be assigned to an nstring variable, or displayed on the command line.

Example 1

Command Input:

define nstring strHello = "HELLO"

_strlwr(strHello)

Result:

hello

Example 2

Command Input:

define nstring strHello = "HELLO"

define nstring strAnswer = _strlwr(strHello)

strAnswer

Result:

hello

Related Topics

_strupr