I want to edit a string that contains the following:
From
WEEK = '2'
Date_Number(3,4,5,6,7,8)
AND
Allowance='100'
AND
((End_Date<'2017-09-17 00:00:00'
AND
Saturday_Name)
to
WEEK = '2'
Date_Number(22,25,27,28,29)
AND
Allowance='100'
AND
((End_Date<'2017-09-17 00:00:00'
AND
Saturday_Name)
I am already thinking of using split string using multiple delimiters ('Date_Number(' and ')') but the problem would be the other ')' will be also be splitted into an array. Is there a way that I could get or even edit the value between it?