---
title: "#substring articles | Hashnode"
description: "Explore 15 articles tagged #substring on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/substring"
---

Tag

# #substring

15 posts · 0 followers

[Robby Wu](https://hashnode.com/@robby570) · [Jan 31, 2025](https://hashnode.com/posts/javascript-substr/679d044a7e0f43766e68e75b)

### [JavaScript - 我獨自升級 substr](https://blog.robby570.tw/javascript-substr?utm_source=hashnode&utm_medium=feed)

只要有 substring 和 slice，就沒什麼好怕的。

3 min read · [blog.robby570.tw](https://blog.robby570.tw/javascript-substr?utm_source=hashnode&utm_medium=feed)

[Pratik Shah](https://hashnode.com/@Pratik676) · [Aug 26, 2024](https://hashnode.com/posts/count-substrings-with-exactly-k-distinct-characters-in-a-string/66cc57aba54027ce3bf2fe25)

### [Count Substrings with Exactly k Distinct Characters in a String](https://pratik676.hashnode.dev/count-substrings-with-exactly-k-distinct-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

Counting substrings with exactly k distinct characters in a string using different approaches for optimal efficiency

4 min read · [pratik676.hashnode.dev](https://pratik676.hashnode.dev/count-substrings-with-exactly-k-distinct-characters-in-a-string?utm_source=hashnode&utm_medium=feed)

[Vikas Gupta](https://hashnode.com/@Vikas141) · [Jun 27, 2024](https://hashnode.com/posts/master-c-string-manipulation-character-frequency-remove-duplicates-reverse-find-substrings/667d7b98ff61b45cad5607c2)

### [Master C# String Manipulation: Character Frequency, Remove Duplicates, Reverse & Find Substrings!](https://vikasfeedingdotnet.hashnode.dev/master-c-string-manipulation-character-frequency-remove-duplicates-reverse-find-substrings?utm_source=hashnode&utm_medium=feed)

Watch now and master the essential string programs that will make you a C# wizard! 🔮 https://www.youtube.com/watch?v=nNsorUMalF0 In this video, you'll discover: ✨ How to count character frequency in a string ✨ How to remove duplicates from a strin...

2 min read · [vikasfeedingdotnet.hashnode.dev](https://vikasfeedingdotnet.hashnode.dev/master-c-string-manipulation-character-frequency-remove-duplicates-reverse-find-substrings?utm_source=hashnode&utm_medium=feed)

[Jeet Bhalu](https://hashnode.com/@Jeetbhalu) · [Mar 14, 2024](https://hashnode.com/posts/dart-string-extracting-text/65f27b3323d45dab1e023211)

### [Dart String: Extracting Text](https://jeetbhalu.hashnode.dev/dart-string-extracting-text?utm_source=hashnode&utm_medium=feed)

Extracting 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...

1 min read · [jeetbhalu.hashnode.dev](https://jeetbhalu.hashnode.dev/dart-string-extracting-text?utm_source=hashnode&utm_medium=feed)

[Jemin Kikani](https://hashnode.com/@KikaniJemin) · [Feb 28, 2024](https://hashnode.com/posts/day-5-how-many-string-methods-in-javascript-with-example/65df3583bd63a21a1b43957e)

### [Day 5 : how many String Methods in javascript with example ?](https://jemin.hashnode.dev/day-5-how-many-string-methods-in-javascript-with-example?utm_source=hashnode&utm_medium=feed)

Life is a challenge - meet it. Life is a dream - realize it. Life is a sacrifice - offer it. Life is love - enjoy.

5 min read · [jemin.hashnode.dev](https://jemin.hashnode.dev/day-5-how-many-string-methods-in-javascript-with-example?utm_source=hashnode&utm_medium=feed)

[Dayeon](https://hashnode.com/@yeonan) · [Feb 1, 2024](https://hashnode.com/posts/sql-study-note-replace-substring-concat-if-case-cast/65bba24705bfbe5e308bf313)

### [\[sql study note\] replace, substring, concat, if, case, cast](https://yeonnan.hashnode.dev/sql-study-note-replace-substring-concat-if-case-cast?utm_source=hashnode&utm_medium=feed)

sql replace, substring, concat, if, case, cast

3 min read · [yeonnan.hashnode.dev](https://yeonnan.hashnode.dev/sql-study-note-replace-substring-concat-if-case-cast?utm_source=hashnode&utm_medium=feed)

[Pratik Kumar](https://hashnode.com/@pratikkumar21) · [Jan 14, 2024](https://hashnode.com/posts/kmp-algorithm/65a45f046efe43f8266b0923)

### [KMP Algorithm](https://pratikkumar.hashnode.dev/kmp-algorithm?utm_source=hashnode&utm_medium=feed)

An Optimized string matching algorithm.

1 min read · [pratikkumar.hashnode.dev](https://pratikkumar.hashnode.dev/kmp-algorithm?utm_source=hashnode&utm_medium=feed)

[Ashik Bhuyan](https://hashnode.com/@ashik17) · [Sep 20, 2023](https://hashnode.com/posts/subsequence-substring-subarray/650a94b5d9b04bd6eaca1524)

### [Subsequence Vs Substring Vs Subarray](https://ashik17.hashnode.dev/subsequence-substring-subarray?utm_source=hashnode&utm_medium=feed)

Substring 👍 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...

2 min read · [ashik17.hashnode.dev](https://ashik17.hashnode.dev/subsequence-substring-subarray?utm_source=hashnode&utm_medium=feed)

[Pranjit Medhi](https://hashnode.com/@Pranjit) · [Aug 24, 2023](https://hashnode.com/posts/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string/64e78431fe0b1ce8b324b072)

### [LeetCode 28. Find the Index of the First Occurrence in a String](https://pranjitmedhi.hashnode.dev/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string?utm_source=hashnode&utm_medium=feed)

Question 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...

1 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string?utm_source=hashnode&utm_medium=feed)

[KENNETH](https://hashnode.com/@devkenny) · [Mar 3, 2023](https://hashnode.com/posts/using-sql-substr-function-to-extract-and-manipulate-string-data/64023ec871e88713974a3fb2)

### [Using SQL SUBSTR Function to Extract and Manipulate String Data](https://idevtechie.com/using-sql-substr-function-to-extract-and-manipulate-string-data?utm_source=hashnode&utm_medium=feed)

Using SQL to Retrieve Unique Names from a Database Table that meet a specific condition using SUBSTR function

2 min read · [idevtechie.com](https://idevtechie.com/using-sql-substr-function-to-extract-and-manipulate-string-data?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/using-sql-substr-function-to-extract-and-manipulate-string-data/64023ec871e88713974a3fb2)
