---
title: "Discussion on \"Converting String to int\" | Hashnode"
description: "Discussion on \"Converting String to int\". The Approach\n\nReading Input\n\nThe code uses bufio.NewReader(os.Stdin) to create a new reader that reads from the standard input stream (terminal).\n\nreader.ReadString('\\n') reads input from the user until a newline character (\\n) is encountered.\n\n\n\nPar..."
url: "https://hashnode.com/posts/converting-string-to-int/65ff1fbb58114b1ee51f6993"
---

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

Discussion

# [Converting String to int](https://www.yasirarafathashnode.com/converting-string-to-int?utm_source=hashnode&utm_medium=feed)

The Approach Reading Input The code uses bufio.NewReader(os.Stdin) to create a new reader that reads from the standard input stream (terminal). reader.ReadString('\\n') reads input from the user until a newline character (\\n) is encountered. Par...

Mar 23, 2024 · 2 min read · yasirarafathashnode.com  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang-developer](https://hashnode.com/tag/golang-developer)
-   [#type-casting](https://hashnode.com/tag/type-casting)
-   [#type-conversion](https://hashnode.com/tag/type-conversion)

## Written by

[Yasir Arafat](https://hashnode.com/@Yasir129Arafat)

@Yasir129Arafat · Uttarpradesh,India

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

Student

👋 Hello there! I'm Yasir Arafat, a motivated 3rd-year undergraduate at IIIT-Allahabad, driven by a passion for Data Structures and Algorithms (DSA) and Web Development. 🌟 Achievements: Currently holding the esteemed title of a Knight at Leetcode and Specialist at Codeforces. Consistently achieving ranks near 1800 in various DSA/CC contests. 💻 Technical Expertise: In-depth understanding of the MERN stack, with a focus on backend development. Noteworthy projects include the creation of a Virtual Trading Platform and a Student Portfolio Management system. Knowledgeable in Object-Oriented Programming (OOP), Database Management Systems (DBMS), and Operating Systems (OS). Proficient in Git version control. 🚀 Outlook: Excited about the convergence of technology and creativity, I am open to new opportunities and collaborations.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
