Skip to content

String formatting #18

Open
Open
@minchingtonak

Description

@minchingtonak

Basil should have some way to easily format strings. Here are a couple syntax proposals.

The percent symbol could be swapped out for something like # or $.

  • ("hello %0 %1" format "world" true) -> yields "hello world true"
  • `hello %{"world"} %{true}` -> yields "hello world true"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions