Main
Main
Main
com
//Mohammed Abu-Hadhoud
#include <iostream>
#include "clsString.h"
int main()
{
clsString String1;
cout << "Number of words: " << String1.CountWords("Fadi ahmed rateb omer") <<
endl;
//----------------
clsString String3("hi how are you?");
String3.UpperFirstLetterOfEachWord();
cout << String3.Value << endl;
//----------------
String3.LowerFirstLetterOfEachWord();
cout << String3.Value << endl;
//----------------
String3.UpperAllString();
cout << String3.Value << endl;
//----------------
String3.LowerAllString();
cout << String3.Value << endl;
//----------------
String3.Value = "AbCdEfg";
String3.InvertAllLettersCase();
cout << String3.Value << endl;
String3.InvertAllLettersCase();
cout << String3.Value << endl;
//----------------
//----------------
cout << "Capital Letters count :" << String3.CountCapitalLetters() << endl;
//----------------
cout << "Small Letters count :" << String3.CountSmallLetters() << endl;
//----------------
//----------------
//----------------
//----------------
//----------------
vector<string> vString;
//Tirms
String3.Value= " Mohammed Abu-Hahdoud ";
cout << "\nString = " << String3.Value;
//----------------
//----------------
//----------------
//Joins
vector<string> vString1 = { "Mohammed","Faid","Ali","Maher" };
//----------------
String3.ReverseWordsInString();
cout << "\nReverse Words : " << String3.Value
<< endl;
//---------------
//---------------
String3.RemovePunctuations();
cout << "\nRemove Punctuations : " << String3.Value
<< endl;
//---------------
system("pause>0");
return 0;
};