MathTop

is_sorted_string 函数

判断文本字符是否已经按升序排列。

语法

  • IsSorted(text)
  • Sorted(text)
  • is_sorted_string(text)

参数与选项

text文本值,通常写在引号中。

示例

  1. 有序文本IsSorted('abbc')返回 true。