For Each texto in CropText("Avenida luis de camoes, travessa de santa rita numero 588", 50)
For Each texto in CropText("Avenida luis de camoes, travessa de santa rita", 50)
For Each texto in CropText("Avenidaluisdecamoes,travessadesantaritanumero588teste", 50)
Public Function CropText(text As String, limit As Integer) As String()
Return New String() {text}
Dim position As Integer = text.LastIndexOf(" ", limit)
Return New String() {text}
return New String() {text.Substring(0, position), text.Substring(position + 1)}