THE TEAL PICKLE CODING CHALLENGE!! Replace all spaces on a string with β%20'. I solved this problem with my lover, Swift. TRY IT π
![Cover image for [Swift CODE] URLify](https://res.cloudinary.com/practicaldev/image/fetch/s--VwXdGB6b--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/tm540dsurl8m7xe9tykv.png)
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Timeless DEV post...
Arguably the single most important piece of documentation for any open source project is the README. A good README not only informs people what the project does and who it is for but also how they use and contribute to it.
If you write a README without sufficient explanation of what your project does or how people can use it then it pretty much defeats the purpose of being open source as other developers are less likely to engage with or contribute towards it.
Pedro Aravena -
Roy -
Gus Pear π -
Vishnu Sivan -
Once suspended, thetealpickle will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, thetealpickle will be able to comment and publish posts again.
Once unpublished, all posts by thetealpickle will become hidden and only accessible to themselves.
If thetealpickle is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to β¨ thetealpickle π± .
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community π©βπ»π¨βπ» safe. Here is what you can do to flag thetealpickle:
Unflagging thetealpickle will restore default visibility to their posts.
Top comments (2)
Uhhh...
Or if you wanna go all in:
(Snippets are in Python because I donβt know Swift)
Yeah in Swift 5 the syntax is pretty similar
string.replaceOccurrences(of: β β, with: β%20β)
In everyday practice, I def use that method.
Typically in interviews, interviewers want to see whether the interviewee understands/can derive the algorithm which makes that method work (hence, all the code π¬π)