Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Substring/DBL/substring.dbl
Normal file
12
Task/Substring/DBL/substring.dbl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
;starting from n characters in and of m length;
|
||||
SUB_STR = STR(n:m)
|
||||
|
||||
;starting from n characters in, up to the end of the string;
|
||||
SUB_STR = STR(n,$LEN(STR))
|
||||
|
||||
;whole string minus last character;
|
||||
SUB_STR = STR(1,%TRIM(STR)-1)
|
||||
|
||||
;starting from a known character f within the string and of m length;
|
||||
;starting from a known substring f within the string and of m length.
|
||||
SUB_STR = STR(%INSTR(1,STR,f):m)
|
||||
Loading…
Add table
Add a link
Reference in a new issue