Using DELSTR Function in BC D365:
(1) In this blog, we will get to know about the use of the DELSTR function in BC D365. It removes a substring from a string.
(2) Syntax of DELSTR:
| NewString := DELSTR(String, Position[, Length]) |
(3) Now let’s take an example and see the result as shown.

Message 1 is: Output is: This is a Solution
(4) Remarks from Microsoft, as shown.
- If you omit Length, all the characters starting with Position are deleted until the end of the string.
- If you omit Length and Position is less than 1, then an error is returned.
- If you omit Length and Position is greater than the length of String, then String is returned unchanged.





![Issue in Installing AL Symbol in VS editor [Solved] Issue in Installing AL Symbol in VS editor [Solved]](https://erpconsultors.com/wp-content/uploads/2021/07/Issue-in-Installing-AL-Symbol-in-VS-editor-180x120.jpg)
