drop (Function)
Signature: drop(s: string, n: int) -> string
Description: Returns s without its first n bytes. Clamps; never fails.
Parameters
- s (
string): The source string - n (
int): How many bytes to drop
Returns: string
Example
print(drop("hello", 3)) // "lo"
print (drop ("hello", 3)) // "lo"