As the title states:
Is there any difference between String.getOrElse() and String.elementAtOrElse()? From a functional point of view they seem completely identical, maybe some performance difference?
Same question accounts to String.getOrNull() and String.elementAtOrNull().