Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Add split_string_into_array_of_words.r #6059

Merged
merged 8 commits into from
Jan 30, 2023

Conversation

WHJang-0421
Copy link
Contributor

Why:

Closes codinasion/codinasion#4299

What's being changed:

Write an R program to split string into array of words.

@WHJang-0421 WHJang-0421 requested review from a team, TechnicalAmanjeet and grraghav120 and removed request for a team January 21, 2023 15:11
@codinasion-bot
Copy link

👋🏻 Hey @WHJang-0421

💖 Thanks for opening this pull request 💖

This PR will be reviewed and merged shortly.

@vercel
Copy link

vercel bot commented Jan 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated
program-api ⬜️ Ignored (Inspect) Jan 30, 2023 at 10:42AM (UTC)
program-website ⬜️ Ignored (Inspect) Jan 30, 2023 at 10:42AM (UTC)

@codinasion-bot codinasion-bot bot added the triage Waiting for review label Jan 21, 2023
Copy link
Member

@grraghav120 grraghav120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message <- readline()
split_message <- strsplit(message, split=" ")
print(split_message)

Copy link
Member

@hi-Kartik2004 hi-Kartik2004 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @WHJang-0421, firstly thanks for linking the issue and making a pull request.
But I see that your code is not printing the desired output, reference image is attached below, can you look into this?

Reference image.

image

@harshraj8843 harshraj8843 removed the triage Waiting for review label Jan 23, 2023
@codinasion-bot codinasion-bot bot changed the title Add split_string_into_array_of_words.r [ 🚧 WIP ] Add split_string_into_array_of_words.r Jan 23, 2023
@harshraj8843 harshraj8843 merged commit 4cee756 into codinasion:master Jan 30, 2023
@codinasion-bot
Copy link

Thanks very much for contributing!

Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours.

Support this project by giving it a star ⭐.

Join Our Community

If you're looking for your next contribution, check out our help wanted issues

@codinasion-bot codinasion-bot bot changed the title [ 🚧 WIP ] Add split_string_into_array_of_words.r Add split_string_into_array_of_words.r Jan 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants