Created
January 13, 2026 16:08
-
-
Save chappjc/035c8910c597601fdbbafd452a997ab7 to your computer and use it in GitHub Desktop.
ytt string slice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #@ uid_short = "abc123" | |
| #@ uid_long = "verylonguid12345" | |
| --- | |
| short_string_sliced: #@ uid_short[:8] | |
| long_string_sliced: #@ uid_long[:8] | |
| cluster_name_short: #@ "pais-{}".format(uid_short[:8]) | |
| cluster_name_long: #@ "pais-{}".format(uid_long[:8]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment