Skip to content
CSCosmos
JS_VIZ
HOME
LEARN
PRACTICE
PLAYGROUND
PRACTICE_CHALLENGE // Intermediate
(20 of 50)
Truncate a String
Prev
Next
Description
Truncate a string if it is longer than the given maximum string length.
Solution Editor
JavaScript Editor
Run Code
Loading...
Console Output
Waiting for output...