OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Implements splicetext() and splicetext_char()

Open amylizzle opened this issue 2 years ago • 1 comments

Fixes #356 by implementing splicetext and _char variant Tests for same.

Note: This is more permissive than DM's default because it doesn't throw a compile error for a number of test cases that frankly don't need to. These guys will throw compile errors in DM but not OD:

    splicetext("abcdef", 4, Insert="test") //expected 2 to 4 arguments    
    splicetext("abcdef", Insert="") //expected 2 to 4 arguments
    splicetext("abcdef") //expected 2 to 4 arguments

amylizzle avatar Sep 17 '22 16:09 amylizzle

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Sep 19 '22 00:09 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Feb 09 '23 12:02 github-actions[bot]