I have 2 String variables,
String expectedDocsTextReqA = "A1:A2:A3:A4";
String expectedDocsTextReqB = "B1:B2:B3:B4";
And I want to Split these 2 strings and store it in a single String array
How to do that?
I'm trying to achieve something like this, But this will throw an exception. Is there any alternate way to do this?
String[] arr = expectedDocsTextReqA.split(":") + expectedDocsTextReqB.split(":");