Share via


_StrConv

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This function converts the casing of text in a string.

Syntax

BSTR _StrConv(
  BSTR string,
  Integer convertFlag
);

Parameters

  • string
    Text to convert.
  • convertFlag
    Type of conversion to perform. The following table shows possible values for this parameter.

    Value Description

    1

    Converts the string to uppercase characters.

    2

    Converts the string to lowercase characters.

    3

    Converts the first letter of every word in the string to an uppercase character.

Return Value

This function returns the text of the converted string.

Remarks

You can call this function from a script that Cescript.exe executes.

Requirements

Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Other Resources

Scripting Host Functions