The utility returns the desired values from the text and display the multiple values if exists based on starting and ending string.
Class Test.Utility.FunctionSet Extends %RegisteredObject
{
/// W !,##class(Test.Utility.FunctionSet).ExtractValues("Some random text VALUE=12345; some other VALUE=2345; more text VALUE=345678;","VALUE=",";")
ClassMethod ExtractValues(text As %String, startStr As %String, endStr As %String) As %String
{ //Initialize Valriables
Set values = ""
Set start = 1
While start '= 0 {
Set start = $FIND(text, startStr, start)
IF start = 0 { QUIT }
Set end = $FIND

.png)




.jpg)

.png)
%20(3)(1).jpg)

