Hi @Arnel
Just happened to see your post regarding the String operations in Katalon. Could you please assist me if the same syntax works in mobile as well.
I could find no inbuilt keyword ‘substring’, in the mobile Katalon .
My obtained string is App Login OTP : 570897.
I need to extract only the six digit number out of it. Could you please help?
String otp = Mobile.getAttribute(findTestObject(‘aa3/Mobile Number Verification - OTP/OTPReading/XCUIElementTypeCell - ABCDE verification code 703875 for mobile number xxxxxxxxxxxxx’), ‘name’, 0, FailureHandling.CONTINUE_ON_FAILURE)