function PCase(STRING){ var strReturn_Value = ""; var iTemp = STRING.length; if(iTemp==0){ return""; } var UcaseNext = false; strReturn_Value += STRING.charAt(0).toUpperCase(); for(var iCounter=1;iCounter < iTemp;iCounter++){ if(UcaseNext == true){ strReturn_Value += STRING.charAt(iCounter).toUpperCase(); } else{ strReturn_Value += STRING.charAt(iCounter).toLowerCase(); } var iChar = STRING.charCodeAt(iCounter); if(iChar == 32 || iChar == 45 || iChar == 46){ UcaseNext = true; } else{ UcaseNext = false } if(iChar == 99 || iChar == 67){ if(STRING.charCodeAt(iCounter-1)==77 || STRING.charCodeAt(iCounter-1)==109){ UcaseNext = true; } } } //End For return strReturn_Value; } //End Function //-->

The PlayFinder™

Type of Play
Genre

MenWomenTotal Cast

Unsubscribe

To unsubscribe from the DPS Mailing List, enter your email and click the Remove button.


Email: