_StrConv

This function converts the casing of text in a string.

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 Values

This function returns the text of the converted string.

Remarks

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

Requirements

OS Versions: Windows CE 4.2 and later.

See Also

Scripting Host Functions | Scripting Host Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.