I work on csharp i need to get value of period and Start date from variable productData
so how to get data of start date and period from ProductData string variables using csharp
string productData = Serial No :444909812
ItemType :Electricy
User Name :ahmedsat
Start Date :2021/12/18
Period :30
End Date :2022/1/17
so expected result will be
30
2021/12/18
Srinivasan RamamoorthiPosted Dec 18, 2021, 3:11 AM
Search for the keyword period and start date and get the value after those text.
You can use string.contains() or other methods to get the keywords