How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words
s="Gita is a good girl " d=split(s," ") count =0 For i=ubound(d) to 1 step -1 count =count +1 Next msgbox count