exercism / exercism/problem-specifications

reverse-string: string with newline

Open
#2,073 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
358
Forks
563
Avg merge
18h 41m
Merged PRs (30d)
2

Description

This came up in the bash track: what to do with strings containing newlines?

A common solution in shell would be to pipe the input into `rev` which would treat the input as _lines_ and not _a single string_.

Suggest a new case:
```json
{
"description": "with a newline",
"property": "reverse",
"input": {
"value": "Hello,\nWorld!"
},
"expected": "!dlroW\n,olleH"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.