---
title: "#string-formatting articles | Hashnode"
description: "Explore 7 articles tagged #string-formatting on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/string-formatting"
---

Tag

# #string-formatting

7 posts · 0 followers

[Aú Desviante](https://hashnode.com/@audesviante) · [Oct 6, 2025](https://hashnode.com/posts/formatando-a-saida-em-java/68e43aeaa148e3f8b6905077)

### [Formatando a saída em Java](https://audesviante.hashnode.dev/formatando-a-saida-em-java?utm_source=hashnode&utm_medium=feed)

Muitas vezes, quando precisamos formatar nossas saídas de forma elaborada, os métodos System.out.print() e System.out.println() não são suficientes. Existem dois métodos que você pode usar nesses casos: System.out.printf() String.format() O método ...

3 min read · [audesviante.hashnode.dev](https://audesviante.hashnode.dev/formatando-a-saida-em-java?utm_source=hashnode&utm_medium=feed)

[Rakesh Verma](https://hashnode.com/@rakeshverma) · [Apr 14, 2024](https://hashnode.com/posts/text-alignment-in-python/661c1fcd86b015d1024563ce)

### [Text Alignment in Python](https://rakeshverma.hashnode.dev/text-alignment-in-python?utm_source=hashnode&utm_medium=feed)

There are methods in python on str class which are used to adjust the padding on texts. Ex: hello = 'Hello' print(hello.ljust(21, '-')) print(hello.center(21, '-')) print(hello.rjust(21, '-')) #Expected output for this would be Hello----------------...

2 min read · [rakeshverma.hashnode.dev](https://rakeshverma.hashnode.dev/text-alignment-in-python?utm_source=hashnode&utm_medium=feed)

[Han](https://hashnode.com/@EunHaSu) · [Feb 3, 2024](https://hashnode.com/posts/how-to-use-format-strings/65beb2718b39ecaae81ef61f)

### [How to Use Format Strings (%)](https://eunhanlee.hashnode.dev/how-to-use-format-strings?utm_source=hashnode&utm_medium=feed)

%d Data Type: Decimal byte, short, int, long Example Usage: String temp = String.format("%d", 29); System.out.println(temp); // 29 %\[Number\]d Data Type: Decimal byte, short, int, long Example Usage: String temp = String.format("%5d", 29); System.out...

1 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/how-to-use-format-strings?utm_source=hashnode&utm_medium=feed)

[Rahul George](https://hashnode.com/@rahultgeorge05) · [Jan 15, 2024](https://hashnode.com/posts/string-interpolation-in-python/65a533757a21677bd30d94c2)

### [String Interpolation in Python](https://blogs.rahultgeorge.com/string-interpolation-in-python?utm_source=hashnode&utm_medium=feed)

String interpolation techniques and when to use them - explained in 3 minutes.

3 min read · [blogs.rahultgeorge.com](https://blogs.rahultgeorge.com/string-interpolation-in-python?utm_source=hashnode&utm_medium=feed)

[Satyam Aaditya](https://hashnode.com/@SatyamAaditya) · [Apr 20, 2023](https://hashnode.com/posts/python-string/6442d2286795fbc6ed5df743)

### [Python String](https://blog.satyamaaditya.com/python-string?utm_source=hashnode&utm_medium=feed)

Sequence of characters enclosed in single or double quotes.

3 min read · [blog.satyamaaditya.com](https://blog.satyamaaditya.com/python-string?utm_source=hashnode&utm_medium=feed)

[Nirmal Pandey](https://hashnode.com/@bitsnotion) · [Feb 27, 2023](https://hashnode.com/posts/string-data-types-in-details/6492a58b457c6133544db9ea)

### [String Data Types In Details](https://bitsnotion.com/string-data-types-in-details?utm_source=hashnode&utm_medium=feed)

Explore Python string manipulation: slicing, string methods, formatting, concatenation; master functions like lower(), upper(), split(), join()

3 min read · [bitsnotion.com](https://bitsnotion.com/string-data-types-in-details?utm_source=hashnode&utm_medium=feed)
