Creating algorithm in Scala (using IntelliJ IDEA)

Could you help me to create this algorithm?

Implement in Scala an algorithm which allows to find the first occurrence of a character in a string. If the character is found, return its position in the sequence, otherwise return -1. String = ”Scala”, Character = ’ c’→ 1

Yes, we can help. What have you tried so far? What aspect of this are you getting stuck on?