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

<snippet name = "计算词的数目" description = "计算给定字符串中词的数目。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function howManyWords(inputString)

{

  return inputString.split(' ').length;

}]]>

</insertText>

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

</insertText>

</snippet>

