init submit StringReplacement Code for mumps
This commit is contained in:
parent
6643772ab5
commit
037ec7bdfb
|
@ -0,0 +1,6 @@
|
||||||
|
N I
|
||||||
|
N TOK
|
||||||
|
N OSTR
|
||||||
|
S count=0
|
||||||
|
F I=1:1:$L(str," ") S TOK=$P(str," ",I) S:TOK=old TOK=new S:TOK=new count=count+1 S OSTR=$G(OSTR)_" "_TOK
|
||||||
|
QUIT $E(OSTR,2,$LENGTH(OSTR))
|
Loading…
Reference in New Issue