René's URL Explorer Experiment


Title: String.formatted() | java.evolved

Open Graph Title: String.formatted() | java.evolved

X Title: String.formatted() | java.evolved

Description: Call formatted() on the template string itself.

Open Graph Description: Call formatted() on the template string itself.

X Description: Call formatted() on the template string itself.

Opengraph URL: https://javaevolved.github.io/strings/string-formatted.html

direct link

Domain: javaevolved.github.io


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "headline": "String.formatted()",
    "description": "Call formatted() on the template string itself.",
    "url": "https://javaevolved.github.io/string-formatted.html",
    "publisher": {
        "@type": "Organization",
        "name": "java.evolved",
        "url": "https://javaevolved.github.io"
    },
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://javaevolved.github.io/string-formatted.html"
    }
}
  
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://javaevolved.github.io/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Strings",
            "item": "https://javaevolved.github.io/#strings"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "String.formatted()"
        }
    ]
}
  

theme-color#f97316
mobile-web-app-capableyes
apple-mobile-web-app-status-bar-styleblack-translucent
apple-mobile-web-app-titlejava.evolved
og:typearticle
og:site_namejava.evolved
og:localeen
og:imagehttps://javaevolved.github.io/og/strings/string-formatted.png
og:image:width1200
og:image:height630
og:image:typeimage/png
twitter:cardsummary_large_image
twitter:imagehttps://javaevolved.github.io/og/strings/string-formatted.png

Links:

java.evolvedhttps://javaevolved.github.io/
https://github.com/javaevolved/javaevolved.github.io
← All patternshttps://javaevolved.github.io/
https://javaevolved.github.io/strings/string-indent-transform.html
https://javaevolved.github.io/strings/string-chars-stream.html
Homehttps://javaevolved.github.io/
Stringshttps://javaevolved.github.io/#strings
🐛 Report a code issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20String.formatted%28%29&category=strings&slug=string-formatted
🌐 Report a translation issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=translation-issue.yml&title=%5BTranslation%5D%20String.formatted%28%29%20%28English%29&locale=en&pattern=string-formatted&area=Pattern%20content
💡 Suggest a new patternhttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=new-pattern.yml
𝕏https://x.com/intent/tweet?url=https%3A%2F%2Fjavaevolved.github.io%2Fstrings%2Fstring-formatted.html&text=String.formatted%28%29%20%E2%80%93%20java.evolved
🦋https://bsky.app/intent/compose?text=String.formatted%28%29%20%E2%80%93%20java.evolved%20https%3A%2F%2Fjavaevolved.github.io%2Fstrings%2Fstring-formatted.html
inhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fjavaevolved.github.io%2Fstrings%2Fstring-formatted.html
https://www.reddit.com/submit?url=https%3A%2F%2Fjavaevolved.github.io%2Fstrings%2Fstring-formatted.html&title=String.formatted%28%29%20%E2%80%93%20java.evolved
Let us know.https://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20String.formatted%28%29&category=strings&slug=string-formatted
String.formatted() ↗https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/String.html#formatted(java.lang.Object...)
View proof source ↗https://github.com/javaevolved/javaevolved.github.io/blob/main/proof/strings/StringFormatted.java
Strings Beginner String.lines() for line splitting Java 8 String text = "one\ntwo\nthree"; String[] lines = text.split("\n"); for (String line : lines) { System.out.println(line); } Java 11+ String text = "one\ntwo\nthree"; text.lines().forEach(IO::println); Hover to see modern ➜ JDK 11+ → https://javaevolved.github.io/strings/string-lines.html
Strings Beginner String.strip() vs trim() Java 8 // trim() only removes ASCII whitespace // (chars <= U+0020) String clean = str.trim(); Java 11+ // strip() removes all Unicode whitespace String clean = str.strip(); String left = str.stripLeading(); String right = str.stripTrailing(); Hover to see modern ➜ JDK 11+ → https://javaevolved.github.io/strings/string-strip.html
Strings Beginner String.indent() and transform() Java 8 String[] lines = text.split("\n"); StringBuilder sb = new StringBuilder(); for (String line : lines) { sb.append(" ").append(line) .append("\n"); } String indented = sb.toString(); Java 12+ String indented = text.indent(4); String result = text .transform(String::strip) .transform(s -> s.replace(" ", "-")); Hover to see modern ➜ JDK 12+ → https://javaevolved.github.io/strings/string-indent-transform.html
java.evolvedhttps://javaevolved.github.io/
Bruno Borgeshttps://github.com/brunoborges
GitHub Copilothttps://github.com/features/copilot
modern-css.comhttps://modern-css.com
View on GitHubhttps://github.com/javaevolved/javaevolved.github.io

Viewport: width=device-width, initial-scale=1.0

Robots: index, follow


URLs of crawlers that visited me.