StringEnhancerCpp is a C++ library designed to enhance standard string manipulation capabilities. It offers advanced functions for processing strings, making it ideal for developers looking to expand the functionality of the native C++ string class.
- Case Transformations: Convert strings to uppercase, lowercase, or invert case.
- Word Manipulation: Reverse the order of words, change the casing of first letters.
- Trimming: Remove spaces from the left, right, or both sides of strings.
- Counting Functions: Count words, vowels, specific characters, as well as upper and lower case letters.
- Splitting and Joining: Divide strings into vectors of substrings and reconcatenate them.
- Customizations: Replace words and remove punctuations.
Ensure you have a C++ compiler that supports C++11 or later. Here are some options:
- GCC for Linux.
- MinGW or Visual Studio for Windows.
Clone the repository:
git clone https://github.com/EngenMe/StringEnhancerCpp.git
cd StringEnhancerCppg++ -o StringEnhancer main.cppRun the program:
./StringEnhancerExplore the various string manipulation functionalities by modifying main.cpp to utilize different methods from the clsString class.
Contributions to enhance the library are welcome! Please follow these steps:
- Fork the repository.
- Create your feature branch (git checkout -b feature/AmazingFeature).
- Commit your changes (git commit -m 'Add some AmazingFeature').
- Push to the branch (git push origin feature/AmazingFeature).
- Open a pull request.
This project is open source and available under the MIT License.