Here's what I've written (so far):

Baeldung on Java

  • All
  • Java Dates (9)
  • Java String (8)
  • JPA (7)
  • Java IO (6)
  • Spring Boot (4)
  • Persistence (4)
  • Spring Data (3)
  • Java List (3)
  • Jackson (3)
  • Spring Web (2)
  • Spring MVC (2)
  • Java Streams (2)
  • Java Collections (2)
  • Java (2)
  • Core Java (2)
  • Spring Persistence (1)
  • REST (1)
  • Java Map (1)
  • Java Array (1)
  • JSON (1)
  • HTTP Client-Side (1)

Check if the First Letter of a String Is a Number

This tutorial explains different ways to check if the first character of a string is a number in Java. It covers using charAt(), Character.isDigit(), Pattern class, and matches() method. It also demonstrates how to use Guava’s CharMatcher utility class to accomplish the same objective.

Read More →