---
title: "Discussion on \"String methods in Javascript\" | Hashnode"
description: "Discussion on \"String methods in Javascript\". Strings in Javascript consist of many methods and these methods help you to work with strings.\nString length method\nThe string length property fetches us the length of the string.\nconst str = \"Hello World\";\nconsole.log(str.length);\nString indexOf() m..."
url: "https://hashnode.com/posts/string-methods-in-javascript/615ae0f6e2f1936f70b297da"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [String methods in Javascript](https://varun19.hashnode.dev/string-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

Strings in Javascript consist of many methods and these methods help you to work with strings. String length method The string length property fetches us the length of the string. const str = "Hello World"; console.log(str.length); String indexOf() m...

Oct 4, 2021 · 4 min read · varun19.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#string](https://hashnode.com/tag/string)
-   [#js](https://hashnode.com/tag/js)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Varun Tadimeti](https://hashnode.com/@Varun19)

@Varun19 · India

  
[View profile](https://hashnode.com/@Varun19)

I like the web developer in me :)

I am an aspiring developer. I like to code and play badminton

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
