Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Strings in Java
Strings in Java
229 members
Leaderboard
Popular
New
Old
Vasyl Malik
Strings in Java
July 27, 2022 at 1:06 PM
Java Escape Characters
Hi! In previous lessons, we've already gotten acquainted with text strings, which are represented by the String class in Java. As you probably remember, a string is a sequence of characters. These characters can be any letters, numerals, punctuation marks and so on ...
Jesse Haniel
Strings in Java
December 17, 2024 at 3:38 PM
How to convert int to String in Java
In this article we are going to discuss converting int (primitive type) and Object type (wrapper) Integer to String. There are many ways to do it in Java. Convert by adding an empty string. The easiest way to convert int to String is very simple. Just add to int or Integer an empty string "" and you’ll get your...
Volodymyr Portianko
Strings in Java
February 18, 2025 at 3:32 PM
Regular expressions in Java
Regular expressions is a topic that programmers, even experienced ones, often postpone for later. But sooner or later, most Java developers have to process textual information. Most often, this means searching and editing text. Without regular expressions, effective and compact text-processing code is simply...
John Selawsky
Strings in Java
July 14, 2022 at 10:43 AM
Substring in Java
This article is about substring () methods in Java language. Here you will find the explanation of how using these methods, find out how they work and get some beneficial examples. Substring in general is a contiguous sequence of characters inside the String. It could be a part of the String or the whole String as well...
Alex Vypirailenko
Strings in Java
December 11, 2023 at 7:26 AM
11 parse() methods in Java with Examples
Parsing in its most general sense is the extraction of the necessary information from some piece of data, most often textual data. What is parse in Java? There are many Java classes that have the parse() method. Usually the parse() method receives some string as...
Aditi Nawghare
Strings in Java
December 24, 2024 at 9:50 AM
Java String format()
The Java string format() method is used to format strings, integers, decimal values, and so on, by using different format specifiers. This method returns the formatted string using the given locale, specified formatter, and arguments. If no locale is provided then it uses the default locale for formatting the strings...
Vasyl Malik
Strings in Java
December 26, 2024 at 3:53 PM
Java String indexOf()
As a Java developer, you must have come across the need to find the position of a character or a substring within a string. Java provides a built-in method called...
Artem Divertitto
Strings in Java
January 20, 2022 at 12:50 PM
Java Regex - Matcher
A regular expression or regex is a sequence of characters that form a pattern. When you are searching for any data you can use this specialized pattern to find matching strings. It can be as simple as a single character or it can be a more...
Pavlo Plynko
Strings in Java
November 12, 2021 at 7:27 AM
Java String lastIndexOf() Method
The lastIndexOf() method returns the position of the last occurrence of a specified character or a substring in a string. Imagine that you have some kind of long text, or rather a long line...
Jesse Haniel
Strings in Java
September 6, 2022 at 7:15 AM
Java Strings
In programming, strings are very commonly used. String in java is an object that represents a sequence of characters backed by a char array. String class is immutable in Java and implements Comparable, Serializable, and CharSequence...
Vasyl Malik
Strings in Java
February 20, 2025 at 9:47 AM
Java toUpperCase() Method
What is toUpperCase() Method? “The toUpperCase() method in Java returns the input content in ALL CAPS.” Java provides you with a simple, easy to use and quite helpful function to convert any text, characters or strings in ALL-CAPS. There are a lot of times...
Oleksandr Miadelets
Strings in Java
February 6, 2025 at 11:06 AM
String equalsIgnoreCase() Method in Java
The equalsIgnoreCase() method in Java is used to compare two strings while ignoring the case differences (lower and upper). Like the equals method, it compares the contents of both strings. If the contents are...
Show more
1
2
3
Please enable JavaScript to continue using this application.