We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
replaceAll
Add replace and replaceAll instance functions to Cadence.
replace(_ of: String, _ with: String): String
of
with
replaceAll(_ of: String, _ with: String): String
Epic: #1972
No response
The text was updated successfully, but these errors were encountered:
String.replaceAll
replaceAll was added in #2814. We can add e.g. a replaceFirst when there is demand.
replaceFirst
Sorry, something went wrong.
No branches or pull requests
Issue to be solved
Add
replace
andreplaceAll
instance functions to Cadence.replace(_ of: String, _ with: String): String
: Returns a new String after replacing first occurrence ofof
withwith
.replaceAll(_ of: String, _ with: String): String
: Returns a new String after replacing all occurrences ofof
withwith
.Epic: #1972
Suggested Solution
No response
The text was updated successfully, but these errors were encountered: