The Delstr function returns the string that remains when a substring is removed from another string.
result = Delstr( string, offset [, length ] ) |
Examples:
say Delstr( 'Shazam', 5 ) -- shows: Shaz say Delstr( 'Shazam', 3, 2 ) -- shows: Sham say Delstr( 'Shazam', 5 ) -- shows: Shaz say Delstr( 'Shazam', 7 ) -- shows: Shazam |