substr()  toUpper()

Chapter 5: General Objects and Methods

toLower()

Description

Changes the letters in a string to lowercase.

Syntax

toLower();

Return value

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

Usage

Pointer to object

Object

ps->toLower();

mystring.toLower();

Examples

Example 68

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




Copyright © 2005. Sybase Inc. All rights reserved. toUpper()

View this book as PDF