- Home
·
- String Manipulation
·
- This function takes a string of items sSource separated by sItem string. It returns the number of i
This function takes a string of items sSource separated by sItem string. It returns the number of i
This function takes a string of items sSource separated by sItem string. It returns the number of items in list.
Rate This function takes a string of items sSource separated by sItem string. It returns the number of i
(1(1 Vote))
Dim temp As String
On Error GoTo NumberOfTextItems_error
temp = Replace(sSource, sItem, "")
NumberOfTextItems = (Len(sSource) - Len(temp)) / Len(sItem)
Exit Function
NumberOfTextItems_error:
NumberOfTextItems = 0
Exit Function
End Function
This function takes a string of items sSource separated by sItem string. It returns the number of i Comments
No comments yet — be the first to post one!
Post a Comment