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

<snippet name = "字符串长度" description = "确定给定字符串的长度，以 UTF-8 字符数表示。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function stringLength(inputString)

{

  return inputString.length;

}]]>

</insertText>

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

</insertText>

</snippet>

