From ca2b85ef9e64eb885fcfbb98b01d2ee50af2b329 Mon Sep 17 00:00:00 2001 From: Rhinemann Date: Sun, 7 May 2023 17:09:03 +0300 Subject: [PATCH] . --- Java/lab_3/lab_3.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Java/lab_3/lab_3.java b/Java/lab_3/lab_3.java index 8fba262..85dff8d 100644 --- a/Java/lab_3/lab_3.java +++ b/Java/lab_3/lab_3.java @@ -3,17 +3,6 @@ package OOP.Java.lab_3; public class lab_3 { static int maxStrLength; static String result; - - /* public static StringBuilder StringBuilderLowerCase(StringBuilder pText) { - StringBuilder pTextLower = new StringBuilder(pText); - for (int idx = 0; idx < pText.length(); idx++) { - char c = pText.charAt(idx); - if (c >= 65 && c <= 65 + 27) { - pTextLower.setCharAt(idx, (char) ((int) (pText.charAt(idx)) | 32)); - } - } - return pTextLower; - } */ public static void cSubUtil(StringBuilder stringbuilder, int leftBoundary, int rightBoundary) { String string = stringbuilder.toString().toLowerCase().replaceAll("[^a-z]","");