.delete(location)
Description
Delete is a method that deletes an index from a string
Parameters
Delete takes the index to delete as a parameter.
Usage On Strings
str = "helllo world"
// setup the string
log str.delete(4)
// returns the string but with the 4th character deleted: "hello world"Last updated
Was this helpful?