Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Capitalize First Letter of a String in Java using Apache Commons Lang
Capitalize First Letter of a String in Java using Apache Commons Lang

In this article we show how to use StringUtils of Apache Commons Lang library to capitalize the first character of a Java String by using StringUtils.capitalize() utility method.

Abbreviates a String using ellipses in Java using Apache Commons Lang
Abbreviates a String using ellipses in Java using Apache Commons Lang

In this post we show how to use Apache Commons Lang library to abbreviate a String using ellipses. We provide multiple Java code examples on how to use StringUtils.abbreviate() utility method to achieve our goal.

Check if a String is a valid numeric value in Java using Apache Commons Lang
Check if a String is a valid numeric value in Java using Apache Commons Lang

In this article we show you how to use different utility classes in Apache Commons Lang library to check if a String is a valid number in Java. We provide different working code examples how to use methods such as NumberUtils.isCreatable(), NumberUtils.isDigits() or StringUtils.isNumeric().

Check if a String contains another String in Java
Check if a String contains another String in Java

Core Java classes provide different solutions that developers can use to check if a String contains another String inside it. In this article we will show you different Java code examples how to check if a String is inside another String using core Java methods such as String.contains(), String.indexOf(), String.lastIndexOf(), String.matches() and java.util.regex.Pattern class.

Replace or Remove All Digits of a String in Java using regular expression
Replace or Remove All Digits of a String in Java using regular expression

In this article we are going to learn how to use core Java classes to remove all numeric characters from a String or replace numeric characters with other characters. We will show you different Java code examples how to use String.replaceAll() method and java.util.regex.Pattern class.

Extract Digits from a String in Java using regular expression
Extract Digits from a String in Java using regular expression

In this post we show you how to use regular expressions to remove all non-digits characters of a String and return the number only String in Java application.

Java Find Difference between two Strings using StringUtils Apache Commons Lang
Java Find Difference between two Strings using StringUtils Apache Commons Lang

In this post we will show you Java example code how to find the difference between two Strings using StringUtils utility class of Apache Commons Lang library.

Java check String is empty or blank or contains text using StringUtils Apache Commons Lang
Java check String is empty or blank or contains text using StringUtils Apache Commons Lang

In this post we are going to learn how to use StringUtils utility class of Apache Commons Lang library in Java application to check if a string contains text, an empty string or a blank string.

Spring Boot SFTP File Transfer using JSch Java Library
Spring Boot SFTP File Transfer using JSch Java Library

In this post we will show you how to transfer files from a local host to a remote server and download files from a remote server to local host via SFTP in Spring Boot applications. In order to transfer files via SFTP in Java applications we also explore the JSch library.

Spring Boot Web Application Upload File
Spring Boot Web Application Upload File

In this tutorial we’re going to learn how to implement file uploading function in a Spring Boot web application.

  • 1
  • 2
  • 3
  • …
  • 93
  • 94
  • 95
  • …
  • 103

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.