Simple string concatenation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 458
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I could not figure out how to concatenate list of strings. For example, I would like to modify the PS1 prompt variable by prepending a string. The function join is supposed to work on lists but in my experience it won't take a list as an input. So this for some reason works (join "," "item1" "item2") but this does not (join "," (list "item1" "item2")). It would also be helpful to have a function that splits a string by white space or by a separator passed as parameter and returns a list of strings. IMHO such and similar string manipulation functions would be quite useful while being just a generalization of what's already available for path manipulations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the join function and the list and string-manipulation entry points. Clarify whether the requested work includes accepting list arguments, splitting strings, or both, then define completion around the intended behavior for the PS1 example and separator handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100