Any help would be appreciated (Java).
This program will find known text message abbreviations within astring and translate them to their actual meanings in unabbreviatedform.
(1) Implement for Tests 1 & 2:
Use nextLine() with a Scanner object variable to read one line ofuser input into a String variable.
Then output the line, as shown below.
Example:
Enter text:IDK if I’ll go. It’s my BFF’s birthday. You entered: IDK if I’ll go. It’s my BFF’s birthday.
(2) Implement for Tests 3 – 5: (Test 5 is a blind test)
Search the user input string (using indexOf()) to find the commonabbreviations listed below
and print a list of each found
PayPal Gateway not configured
PayPal Gateway not configured