/**
 * Check if a specific word is present in an artist's name (case-sensitive).
 */
fun checkFavoriteArtist(artistName: String, searchWord: String): Boolean {

    val wordLength = searchWord.length
    for (i in 0 until artistName.length - wordLength + 1) {
        if (artistName.substring(i, i + wordLength) == searchWord) {
            return true
        }
    }
    return false
}
/**
 * Check if a specific word is present in an artist's name (case-sensitive).
 */
fun checkFavoriteArtist(artistName: String, searchWord: String): Boolean {
/**
 * Check if a specific word is present in an artist's name (case-sensitive).
 */
fun checkFavoriteArtist(artistName: String, searchWord: String): Boolean {

    val wordLength = searchWord.length
    for (i in 0 until artistName.length - wordLength + 1) {
        if (artistName.substring(i, i + wordLength) == searchWord) {
            return true
        }
    }
    return false
}