---
title: "Vaibhav Dhiman (@vars7899) | Hashnode"
description: "Vaibhav Dhiman (@vars7899) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@vars7899"
---

@vars7899

# Vaibhav Dhiman

@vars7899 · Joined May 2022

### [Converting a String into array in JavaScript](https://vars.hashnode.dev/converting-a-string-into-array-in-javascript?utm_source=hashnode&utm_medium=feed)

There are three ways to convert a string into an array of character. Using the Spread Operator (Keep in mind that the spread operator will convert the string into character array) const string = "This is a string" console.log(\[...string\]) Using th...

1 min read · [vars.hashnode.dev](https://vars.hashnode.dev/converting-a-string-into-array-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jun 8, 2022](https://hashnode.com/posts/converting-a-string-into-array-in-javascript/62a01ee535465b6263093c47)
