Kotlin String Tutorials

String Tutorials

In most of the applications, data is stored as strings and developers often need to transform the string values using string operations, regular expressions, etc.

These series of tutorials cover examples for how to work with strings in Kotlin language.

Create Strings

These tutorials will cover scenarios on how to create strings using different techniques.

Read / Print String

These tutorials will cover scenarios on how to read string from console, or print string to console.

Access

These tutorials will cover scenarios on how to create strings using different techniques.

Contains

These tutorials will cover scenarios like the string contains a substring, or string contains any string as substring from a list, string contains only alphabets, etc.

Replacement

Replacement String Operations are those, in which we replace some characters or substrings with a new value. The following tutorials will get you started with some of the replacement operations in Kotlin.

Append / Concatenate / Insert

Splitting

Splitting is a string operation in which input is a string containing chunks separated by delimiter. We should extract the chunks from the string as a list.

Sorting

Transformations

Delete Operations

Conversions

Comparison

Comparison is an action to check if two strings are equal, one string is greater than the other, or one string is less than the other.

Search

Formatting

Exceptions and Solutions

Other String Operations

The following is a list of topics that cover basic string operations in Kotlin.