right_string 函数
返回文本末尾的 count 个字符。
语法
StringTools:-Right(text, count)right_string(text, count)RightString(text, count)
参数与选项
text | 文本值,通常写在引号中。 |
|---|---|
count | 非负字符数量。 |
示例
- 右侧部分
RightString('abcdef', 2)返回 ef。
返回文本末尾的 count 个字符。
StringTools:-Right(text, count)right_string(text, count)RightString(text, count)text | 文本值,通常写在引号中。 |
|---|---|
count | 非负字符数量。 |
RightString('abcdef', 2)返回 ef。