Hi, community!

Consider you need to exclude substring(s) from a string.

I did it with the following snippet:

/// excludes all the substrings from the string
ClassMethod ExcludeSubstring(substr,str as %String) As %String

{

 while ($L(str,substr)>1) {

 set str=$Piece(str,substr)_$Piece(str,substr,2,*)

            }

 quit str

}

So, for example:

0 2
0 424
Question
· Dec 14, 2016
Intergity test for cbk files

Hi, Community!

We have our internal backup system which produces *.cbk files for Full, Incremental and Cumulative backup modes.

Does anyone have an automation procedure to restore this files on some target testing system, check the integrity and mark the files as "restorable"?

Please, share?

Thank you in advance!

0 2
0 416

Hi, Community!

Let me introduce Dmitry Maslennikov as our new Developer Community Moderator.

Dmitry continuously shows the outstanding contribution to InterSystems Developer Community and we decided to trust Dmitry this role and hope that Dmitry can even help to make the Developer Community better in this new status.

Thanks for your great contribution, Dmitry!

And, we are looking for the new moderators from Community!

7 1
0 294

Hi!

Suppose I have a project in Atelier with two classes: Class A and Class B and develop it in my local Caché installation.

If I decide to delete Class A and delete it in Atelier project will it be deleted in Caché automatically or should I do it manually?

Or what is the suggested workflow in this case?

Same question is if I decide to rename Class B to Class C.

1 4
0 578