Jeet Bhalujeetbhalu.hashnode.dev·Mar 14, 2024Dart String: Extracting TextExtracting Text: you can use a combination of string methods and regular expressions. using substring: You can use the substring method to extract a portion of a string based on its indices. void main() { String text = "Hello, world!"; // Extr...DiscussDart String: Extracting Text
Jemin Kikanijemin.hashnode.dev·Feb 28, 2024Day 5 : how many String Methods in javascript with example ?● String length ● String slice() ● String substring() ● String substr() ● String replace() ● String replaceAll() ● String toUpperCase() ● String toLowerCase() ● String concat() String Length:- ● String trim() ● String trimStart() ● String tr...DiscusspadEnd()
Dayeonyeonnan.hashnode.dev·Feb 1, 2024[sql study note] replace, substring, concat, if, case, castreplace를 이용하여 특정 문자를 다른 문자로 바꾸는 방법 REPLACE 함수는 컬럼 내의 특정 문자를 다른 문자로 바꿀 때 사용한다. replace(바꿀 컬럼, 현재 값, 바꿀 값) ex) '문곡리'라고 되어있는 주소를 '문가리'라고 바뀐 주소명으로 치환해주기 SELECT addr, REPLACE (addr, '문곡리', '문가리') "바뀐주소" FROM food_orders WHERE addr LIKE '%문곡리%' ...Discuss·27 readsSQLSQL
Pratik Kumarpratikkumar.hashnode.dev·Jan 14, 2024KMP AlgorithmAn Optimized string matching algorithm.Discusskmp_algorithm
Ashik Bhuyanashik17.hashnode.dev·Sep 20, 2023Subsequence Vs Substring Vs SubarraySubstring 👍 A substring is a contiguous(continuous) sequence of characters present within a string. It is a string present inside a string.For instance, the substrings of the string “tree” would be:‘t,’ ‘r,’ ‘e,’ ‘tr,’ ‘tre,’ ‘tree,’ ‘re,’ ‘ree,’ ‘e...Discusssubsequence
Pranjit Medhipranjitmedhi.hashnode.dev·Aug 24, 2023LeetCode 28. Find the Index of the First Occurrence in a StringQuestion Statement: Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystack = "sadbutsad", needle = "sad" Output: 0 Explanation: "sad...Discussleetcode
KENNETH devkenny.hashnode.dev·Mar 3, 2023Using SQL SUBSTR Function to Extract and Manipulate String DataThe SUBSTR function is a commonly used function in SQL for manipulating string data. This function is used to extract a substring from a larger string based on a specified starting position and length. In this article, we will discuss the SUBSTR func...Discuss·49 readsSQL
Dmitry Ronzhinronzhin.hashnode.dev·Jan 30, 2023Finding substringsWhat I actually like to do is to describe some algorithms from the most naive approach to quite complicated ones. It is also very satisfying when there are both complex and simple algorithms that improve a lot compared to naive ones, and one can see ...Discuss·47 readsPython
Navnath Jadhavnavnathjadhav.hashnode.dev·Jan 6, 2023Java Substring: HackerRank Solution in JavaGiven a string,s, and two indices,start and end, print a substring consisting of all characters in the inclusive range from start to end - 1. You'll find the String class' substring method helpful in completing this challenge. Input Format The first ...Discuss·247 readscoding challenge
Web Dev Zucchiniwebdevzucchini.hashnode.dev·Dec 9, 2022A Hitchhiker's Guide to the JavaScript String Substring() FunctionThe String substring() function in JavaScript is a simple one, but it can be a bit difficult to grasp especially for beginners. Here I will try to explain it in very simple terms and will keep it only to the essentials - no advanced or weird use case...Discuss·52 readsJavaScript