Skip to content

Custom Java String utility library built from scratch without using Java’s built-in String methods. Implements core string operations, transformations, validations, and case conversions with clean and immutable design.

Notifications You must be signed in to change notification settings

ShahbozbekYuldosh/Custom-String-library-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Custom String Utils (Java)

A custom-built Java String utility library implemented completely from scratch, without using Java’s built-in String helper methods.

This project is designed for learning, interview preparation, and demonstrating low-level string manipulation, algorithmic thinking, and clean code principles.

✨ Features

  • Immutable custom String implementation
  • Manual character-level processing
  • No usage of Java String utility methods
  • Rich set of string operations:
    • Searching, replacing, splitting
    • Case transformations (upper, lower, title, camel, snake, kebab)
    • Validation (numeric, alphabetic, alphanumeric)
    • Statistics (word count, vowels, consonants)
    • Palindrome detection
    • Padding, trimming, repeating, truncation

🧠 Design Principles

  • Immutable object design
  • Separation of concerns
  • Clean and readable algorithms
  • Zero dependency on Java String utilities

🎯 Purpose

  • Deep understanding of how String works internally
  • Practice data structures and algorithms
  • Build a strong portfolio project for Java backend roles
  • Interview-ready demonstration of low-level logic

🚀 Tech Stack

  • Java (Core)
  • No external libraries
  • No built-in String helpers

📌 Example Usage

StringUtils str = new StringUtils("Hello World");

System.out.println(str.toUpperCase());
System.out.println(str.reverse());
System.out.println(str.toCamelCase());
System.out.println(str.isPalindrome());

📂 Project Structure

uz.stringutils
 ├── core
 ├── util
 ├── validation
 ├── converter
 └── demo

About

Custom Java String utility library built from scratch without using Java’s built-in String methods. Implements core string operations, transformations, validations, and case conversions with clean and immutable design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages