https://github.com/aaisha-nexus/operation_on_strings
https://github.com/aaisha-nexus/operation_on_strings
cpp find-and-replace replace-text string-manipulation textanalysis vowel-counter wordcount
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaisha-nexus/operation_on_strings
- Owner: Aaisha-Nexus
- Created: 2024-07-17T15:06:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T15:16:58.000Z (over 1 year ago)
- Last Synced: 2024-11-09T13:20:20.041Z (over 1 year ago)
- Topics: cpp, find-and-replace, replace-text, string-manipulation, textanalysis, vowel-counter, wordcount
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text Analysis and Manipulation Program
This project is an assignment that involves performing various text analysis and manipulation tasks on a given paragraph or line. The program offers multiple functionalities including finding and replacing words, counting words, sentences, spaces, and articles (a, an, the).
## Description
The program provides the following functionalities:
- **Find a Word**: Locate a specified word in the text and display its index.
- **Replace a Word**: Replace a specified word in the text with another word.
- **Word Counter**: Count the total number of words in the text.
- **Sentence Counter**: Count the total number of sentences in the text.
- **Space Counter**: Count the total number of spaces in the text.
- **Article Finder**: Count the occurrences of articles (a, an, the) in the text.
## How to Use
1. **Compile**: Use a C++ compiler to compile the provided source code.
2. **Run**: Execute the compiled program. It will prompt you to enter a line or paragraph.
3. **Select Option**: Choose from the menu options to perform the desired text analysis or manipulation task.
---
This assignment demonstrates basic C++ programming skills in text processing and manipulation, providing a useful tool for analyzing and editing text.