toLower()  Timer objects

Chapter 5: General Objects and Methods

toUpper()

Description

Changes the letters in a string to uppercase.

Syntax

toUpper();

Return value

Integer. Returns 1 for success, and 0 for failure.

Usage

Pointer to object

Object

ps->toUpper();

mystring.toUpper();

Examples

Example 69

string mystr;
mystr = “abcdefg”;
mystr.toUpper();
//mystr is now “ABCDEFG”




Copyright © 2005. Sybase Inc. All rights reserved. Timer objects

View this book as PDF