I'm trying to create a function to return Range but I'm getting this error:
reference to generic type Range requires arguments in...
This is my code:
func rangOfSubString(msgStr:String) -> Range {
...
}
Any of you knows why or a way to work around this error?
I'll really appreciate your help.