Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
Kotlin
/
Primitive data types in Kotlin
Primitive data types in Kotlin
Explore strings, numbers, and booleans in Kotlin.
1
Strings in Kotlin: An Introduction
2
How to Work with String Templates in Kotlin
3
Using Variables Inside Kotlin Strings
4
Concatenating Strings in Kotlin Made Simple
5
String Interpolation: Dynamic Text in Kotlin
6
Finding the Length of a String in Kotlin
7
Substring Operations: Extracting Parts of a String in Kotlin
8
How to Compare Strings in Kotlin
9
Changing Case in Kotlin: Uppercase and Lowercase Strings
10
Trimming Strings: Remove Extra Spaces in Kotlin
11
Splitting Strings: Breaking Down Text in Kotlin
12
Replacing Characters in Kotlin Strings
13
Checking if a String is Empty or Blank in Kotlin
14
Kotlin - Escaping Special Characters in Strings
15
Reversing Strings in Kotlin with Ease
16
Converting Numbers to Strings in Kotlin
17
Converting Strings to Numbers in Kotlin
18
Advanced String Manipulation Techniques in Kotlin
19
Working with Multiline Strings in Kotlin
20
Understanding Numbers in Kotlin
21
Working with Integers and Floating-Point Numbers in Kotlin
22
How to Use Long, Short, and Byte Types in Kotlin
23
Performing Arithmetic Operations in Kotlin
24
How Division Works in Kotlin (Integer vs. Float)
25
Understanding the Remainder Operator (`%`) in Kotlin
26
Incrementing and Decrementing Numbers in Kotlin
27
Using Type Conversion to Switch Between Number Types in Kotlin
28
Handling Overflow and Underflow in Kotlin Numbers
29
Using `BigDecimal` for High-Precision Arithmetic in Kotlin
30
How to Round Numbers in Kotlin
31
Understanding `NaN` and Infinity in Kotlin
32
Introduction to Booleans in Kotlin
33
How to Use `true` and `false` in Kotlin
34
Kotlin - Working with Logical Operators: AND, OR, and NOT
35
Understanding Conditional Expressions in Kotlin
36
Checking Equality and Inequality of Values in Kotlin
37
Using Boolean Expressions in If Statements in Kotlin
38
Combining Multiple Boolean Conditions in Kotlin
39
Short-Circuit Evaluation in Kotlin Logic
40
Kotlin Boolean Expressions in Loops: Practical Examples
41
Negating Booleans: When to Use `!` in Kotlin
42
How to Return Booleans from Functions in Kotlin
43
Working with Nullable Booleans in Kotlin
44
Practical Uses of Booleans in Real-World Kotlin Programs
45
Introduction to Regular Expressions in Kotlin
46
How to Create and Use Regex Patterns in Kotlin
47
Matching Strings with Regular Expressions in Kotlin
48
Using Regex to Validate Email Addresses in Kotlin
49
Phone Number Validation with Regular Expressions in Kotlin
50
How to Check for Alphanumeric Strings with Regex in Kotlin
51
Extracting Substrings Using Regex in Kotlin
52
Finding and Replacing Patterns with Regex in Kotlin
53
Validating Password Strength Using Regular Expressions in Kotlin
54
Removing Unwanted Characters from Strings with Regex in Kotlin
55
Splitting Strings with Complex Delimiters Using Regex in Kotlin
56
How to Use Regex Flags for Advanced Matching in Kotlin
57
Validating Input Strings in Kotlin
58
Checking if a String Contains Only Digits in Kotlin
59
Validating URLs in Kotlin with String Functions
60
Ensuring Strings Meet Length Requirements in Kotlin
61
How to Check if a String Contains Certain Words in Kotlin
62
Matching Specific Date Formats in Kotlin
63
How to Sanitize User Input Strings in Kotlin
64
Reversing Words in a Sentence with Kotlin
65
How to Capitalize Each Word in a String in Kotlin
66
Joining and Splitting Strings with Custom Delimiters in Kotlin
67
Removing Duplicate Characters in Strings in Kotlin
68
Padding Strings with Characters in Kotlin
69
Inserting Substrings at Specific Indexes in Kotlin
70
Introduction to Kotlin Math Functions
71
How to Use Kotlin’s `Math` Library for Calculations
72
Performing Exponentiation in Kotlin (`pow`)
73
Calculating Square Roots in Kotlin (`sqrt`)
74
Finding Absolute Values in Kotlin (`abs`)
75
Generating Random Numbers in Kotlin
76
Using Trigonometric Functions in Kotlin: `sin`, `cos`, `tan`
77
Converting Between Degrees and Radians in Kotlin
78
Rounding Numbers in Kotlin: Floor, Ceil, and Round Functions
79
Calculating Factorials and Permutations in Kotlin
80
How to Use Modulo for Cyclic Arithmetic in Kotlin
81
Finding the Greatest Common Divisor (GCD) in Kotlin
82
Working with Prime Numbers in Kotlin
83
How to Solve Quadratic Equations in Kotlin
84
Combining Regex and Math for Input Validation in Kotlin
85
Parsing Mathematical Expressions from Strings in Kotlin
86
Validating and Evaluating Equations with Kotlin
87
Formatting Numbers for Display in Kotlin (Currency, Percentages)