suve

awful: function: str-del

Declaration

string :str-del ( string $STR , int $START , int $COUNT )
string :str-del ( string $STR , int $START )

Summary

Returns a copy of the original string with COUNT characters removed, starting from the START-th character.
If COUNT is omitted, removes all characters from START to the end of the string.

Example

# :str-del example
:set &TXT s'Coding in awful is not much fun.'
:writeln :str-del $TXT i20 i4

wikipage modified on 2014/0601/2317