Can someone help me to extract only ‘UnexpectedCountMuleServiceActive’ from below String,
Event Code: UnexpectedCountMuleServiceActive
I used
writefile.Substring(writefile.IndexOf(“Event Code”)+13,45).Split(“x”.ToCharArray)(0)
Can someone help me to extract only ‘UnexpectedCountMuleServiceActive’ from below String,
Event Code: UnexpectedCountMuleServiceActive
I used
writefile.Substring(writefile.IndexOf(“Event Code”)+13,45).Split(“x”.ToCharArray)(0)
@NagaSujitha Use split method with respect to “:” like below
String newvariable=split(UrStringVariable,“:”)(1)
Assign v1 = Event Code: UnexpectedCountMuleServiceActive
Assign v1 = v1.Split(“:”.ToCharArray)(1)