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

<snippet name = "至少有一个字符" description = "确定给定字符串是否至少有一个字符长。" preview="code" type="wrap">

<insertText location="beforeSelection">

<![CDATA[function hasAtLeastOneCharacter (inputString)

{

  return inputString.length;

}]]>

</insertText>

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

</insertText>

</snippet>

