object Implicits {
    implicit class PimpedString(str: String) {
        def everyNthChar(skipNum: Int) = (for (i <- 0 until str.length if i%skipNum==0) yield str(i)).mkString
        //Other methods I want strings to have go here
    } 
    
    implicit class PimpedInt(int: Int){
        //Other methods I want ints to have do here
    }
}


class SomeClassThatUsesImplicits {
    import Implicits._

    println("Hey Look, I can use methods from PimpedString!".everyNthChar(3))
}