note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
strdel
warning
This function starts with a lowercase letter.
Description
Delete part of a string.
Name | Description |
---|---|
string[] | The string to delete part of. |
start | The position of the first character to delete. |
end | The position of the last character to delete. |
Returns
This function does not return any specific values.
Examples
new string[42] = "We will delete everything apart from this";
strdel(string, 0, 37); // string is now "this"
Related Functions
- strcmp: Compare two strings to check if they are the same.
- strfind: Search for a string in another string.
- strins: Insert text into a string.
- strlen: Get the length of a string.
- strmid: Extract part of a string into another string.
- strpack: Pack a string into a destination string.
- strval: Convert a string into an integer.
- strcat: Concatenate two strings into a destination reference.