Community
Participate
Working Groups
EGL code function runPatternUtilFunction27(utility TestUtil) actualStr = "abcdefabcdefabcdefab".replaceStr("abc", "xyz"); expectedStr = "xyzdefxyzdefxyzdefab"; end java code public void runPatternUtilFunction28(AnyBoxedObject<TestUtil> utility) { String eze$Temp52 = Constants.EMPTY_STRING; eze$Temp52 = "cbc"; String eze$Temp53 = Constants.EMPTY_STRING; eze$Temp53 = "xyz"; actualStr = "abcdefabcdefabcdefab".replaceStr(eze$Temp52, eze$Temp53); expectedStr = "abcdefabcdefabcdefab"; } Java compile error: The method replaceStr(String, String) is undefined for the type String
matchesPattern(string)/ (string, string) and isLike(string)/(string, string) are also missing actual boolean; actual = "abcdef".matchesPattern("a?c*"); actual = "abcdef".isLike("a_c%"); ... let me know if you need separate defects for theses
string also needs clip() clipLeading() charCodeAt(int)
fixed
Closing this defect.