Up |
strtruncate
Truncate a string. Be carefull, the string memory is dynamically changed and the old value is lost.
Prototype :
fun [S I] S
- S : any string
- I : the length
Return : S the string result or nil if error
Example :
_fooS strtruncate "I'm the best after them" 12;