MCASE$ function

Purpose: MCASE$ converts a string to Mixed Case. Mixed Case means the first letter of each word is Capitalized.


 Syntax:

 RetStr$ = MCASE$(MainStr$)

 Parameters:

  • MainStr$ String to be converted to Mixed Case.

 Return Value:

  • RetStr$, the return value, is string converted to Mixed Case.

Example:


 DIM RetStr$
 RetStr$ = MCASE$("this is a test")
 PRINT RetStr$ 

Result:

This Is A Test