User Profile

Collapse

Profile Sidebar

Collapse
stevepsft
stevepsft
Last Activity: Feb 1 '18, 05:00 AM
Joined: Mar 21 '17
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stevepsft
    replied to Count Words in a Field
    Code:
    public function word_count(InWord as variant) as Integer
    dim words() as string
    
    word_str=nz(word_str,"")   'deals with null values passed in
    word_str = replace(word_str,vbcr," ")  ' Whatever you want to also delineate a word can be placed here.
    
    while instr(word_str,"  ") > 0 )  'Check to see if double spaces
       word_str = replace(word_str,"  "," ") ' change
    ...
    See more | Go to post

    Leave a comment:


  • stevepsft
    replied to Count Words in a Field
    Here's a simple function
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...