<?xml version="1.0" encoding = "utf-8"?>

<snippet xmlns:MMString="http://www.macromedia.com/schemes/dat/string/" MMString:name = "Snippets/JavaScript/string_manipulations/howManyWords_csn/snippet/name/Count" MMString:description = "Snippets/JavaScript/string_manipulations/howManyWords_csn/snippet/description/Counts" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function howManyWords(inputString)

{

  return inputString.split(' ').length;

}]]>

</insertText>

<insertText location="afterSelection"><![CDATA[]]>

</insertText>

</snippet>

