MathTop
文档
/
函数参考
chomp_string 函数
删除文本末尾的换行字符。
语法
Chomp(text)
chomp_string(text)
参数与选项
text
文本值,通常写在引号中。
示例
删除行尾
Chomp('line\n')
返回 line。
相关函数与文档
trim
chop_string