Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace function #21

Open
emrerenJs opened this issue Aug 8, 2022 · 0 comments
Open

Replace function #21

emrerenJs opened this issue Aug 8, 2022 · 0 comments
Assignees

Comments

@emrerenJs
Copy link
Collaborator

emrerenJs commented Aug 8, 2022

Read a word or a sentence and 2 character from console.
First character is the searched character,
Second character is the replacement of the searched.
Print changed sentence to console.

Example 1 :
Sentence : Change me please.
Searched : e
Replacement : u
Output : Changu mu pluasu.

Example 2 :
Sentence : Yamette kudasai!
Searched : t
Replacement : d
Output: Yamedde kudasai!

@emrerenJs emrerenJs changed the title Strings Replace function Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants