Dec-09-2020, 10:38 AM
Hi,
I have a requirement to get the string data like below.
str = "dsrc, combo, dsrc_hist, mapping, combo_hist"
If a particular value contains "hist" needs to assign to one variable and if not "hist" send him to another variable.
var1 = "dsrc_hist, combo_hist"
var2 = "dsrc, combo, mapping"
Can you please help me to achieve the above functionality?
Thx in advance
I have a requirement to get the string data like below.
str = "dsrc, combo, dsrc_hist, mapping, combo_hist"
If a particular value contains "hist" needs to assign to one variable and if not "hist" send him to another variable.
var1 = "dsrc_hist, combo_hist"
var2 = "dsrc, combo, mapping"
Can you please help me to achieve the above functionality?
Thx in advance