Learn how to use the Java standard API and a third-party API to create a table using ASCII characters in Java.
Search Results for: ascii
Get the ASCII Value of a Character in Java
A quick and practical guide to getting ASCII value of a char in Java.
ASCII Art in Java
A quick example of generating simple ASCII arts in Java.
Generating a Book with Asciidoctor
See how to use AsciiDoctor to generate a book.
Introduction to Asciidoctor in Java
Learn how to generate documents using AsciiDoctor.
Convert Hex to ASCII in Java
How to convert Hex to ASCII (and back) programmatically in Java.
PrintWriter write() vs print() Method in Java
Discover the differences between PrintWriter’s write() and print() methods.
Merge Overlapping Intervals in a Java Collection
Learn how to take a Java collection of intervals and merge the overlapping ones.
Invalid Characters in XML
In this article, we learn about various invalid characters and how to handle them in XML processing.
Document Query Parameters with Spring REST Docs
Learn how to combine writing documentation and writing APIs with Spring REST Docs.
Get First n Characters in a String in Java
Learn how to efficiently extract the first n characters of a string in Java using core JDK methods and popular libraries like Apache Commons Lang and Guava.
Check if String is Base64 Encoded
Explore several methods of verifying if a string is Base64 encoded..
Count Uppercase and Lowercase Letters in a String
Learn how to count the number of uppercase and lowercase letters in a String in Java.
Guide to System.in.read()
Learn how to use Java’s System.in.read().
Translating Space Characters in URLEncoder
Learn the fundamentals of URL encoding in Java focusing on the URLEncoder class for encoding spaces into URL-safe formats.
Creating Unicode Character From Its Code Point Hex String
Learn how to obtain Unicode characters from their code points in Java.
How to Determine if a String Contains Invalid Encoded Characters
Learn how to check if a Java string contains invalidly еncodеd characters.
Java’s String.length() and String.getBytes().length
Learn how character encoding works and explore why String.length() and String.getBytes().length can produce different results.
Convert String to long or Long in Java
In this tutorial, we learn how to convert a String to a long primitive or Long object.
UTF-8 Validation in Java
Explore UTF-8 encoded bytes and string conversion and different types of UTF-8 validation based on byte and stream.