String a 1 string b 1. Строка (string – str). joptionpane.showinputdialog. string str = 1. функция pos str1,str2.