Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ubound(Split([i]<Test Value>[/i],","))
Function CountChar(strField As String, Optional CharToCount As String = ",") As Integer
Dim re As Object
Dim mc As Object
If InStr(1, "[\^$.|?*+(){}", CharToCount) > 0 Then CharToCount = "\" & CharToCount
Set re = CreateObject("VBScript.RegExp")
With re
.Global = True
.MultiLine = True
.IgnoreCase = True
.Pattern = CharToCount
Set mc = .Execute(strField)
End With
If mc.Count > 0 Then
CountChar = mc.Count
Else
CountChar = 1
End If
Set mc = Nothing
Set re = Nothing
End Function
If none, then I need to put 1.
yourSubFieldsCount: IIF(instr(1,"Test",","),1, Len([your field])-Len(Replace([your field],',','')) )
yourSubFieldsCount: IIF(instr(1,[your field],",") = 0 ,1, Len([your field])-Len(Replace([your field],',','')) )