I have two strings as shown below:
string1 = POUS45558534
string2 = POUSE8923999
If the string starts with POUS then do action A;
If string starts with POUSE then do action B
I cannot do string.contains(“POUS”), as both string contains “POUS”.
Can anyone help please?