Fixes an issue with /proc/truncate (#60199)

This commit is contained in:
Matthew J
2021-07-14 13:21:12 -07:00
committed by GitHub
parent 6b4f26cf55
commit e9f33606c3
+1
View File
@@ -314,6 +314,7 @@
/proc/truncate(text, max_length)
if(length(text) > max_length)
return copytext(text, 1, max_length)
return text
//Returns a string with reserved characters and spaces before the first word and after the last word removed.
/proc/trim(text, max_length)