//! Substring Search (Brute Force, Unicode-safe, Production-Grade)
//!
//! Searches for the first occurrence of a pattern in a string slice. Returns the starting index if found.
//!
//! # Arguments
//! * `haystack` - The string to search in.
//! * `needle` - The pattern to search for.
//!
//! # Returns
//! * `Option<usize>` - The starting index of the first occurrence, or None if not found.
//!
//! # Example
//! ```rust
//! use pofk_algorithm::string_algorithms::substring_search::substring_search;
//! assert_eq!(substring_search("hello world", "world"), Some(6));
//! assert_eq!(substring_search("abc", "d"), None);
//! assert_eq!(substring_search("a😊b😊c", "😊b"), Some(1));
//! ```