This is the if condition:
This is the code: Left(withoutMoney,withoutMoney.Tostring.LastIndexof(year)+4)
withoutMoney is a string variable.
year is a string variable to get the date(DateTime.Now.ToString(“yyyy”))
This is an example of line that is suppose to pass through if condition and my code.
The expected outcome was S|Compute|Service(JYAZ,|4|vCEU|8UB,|99.5%)|01|May|2018|to|31|May|2017|
But the outcome is S|C
It worked before but now it’s not working after i changed my input file. Pls help.
Thank you xoxo