Skip to content

strings: add indent()#25921

Merged
spytheman merged 10 commits into
vlang:masterfrom
kbkpbot:add-string-indent
Dec 10, 2025
Merged

strings: add indent()#25921
spytheman merged 10 commits into
vlang:masterfrom
kbkpbot:add-string-indent

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Feature request by #25917

@kbkpbot kbkpbot linked an issue Dec 8, 2025 that may be closed by this pull request
2 tasks
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string_test.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string_test.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
Comment thread vlib/builtin/string.v Outdated
@kbkpbot kbkpbot changed the title builtin: add string.indent() strings: add indent() Dec 10, 2025
Comment thread vlib/strings/builder.c.v Outdated

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @kbkpbot 🙇🏻‍♂️.
It is an excellent addition.
I hope it will simplify your other PR.

@spytheman spytheman merged commit 8bbd72d into vlang:master Dec 10, 2025
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add indent() method to string type

3 participants