Hey all I need some help with finding how to code the following in order to count the number of . (periods) in a string.
Say the string was 102.12.97.258 and I wanted to know how many periods there were in that string. The answer, obvious, would be 4.
All I can find would be the instr() function but that seems to only find if it finds only 1 instance of that period within the string. I'm looking to get how many periods are within the string.
Any help would be great!
not a dup There are better ways of doing this via the all ready posted answers here. If they were exact matches of the code on the dup page then yeah... but its not.