---
title: "Discussion on \"How-To: Java charAt() String Function\" | Hashnode"
description: "Discussion on \"How-To: Java charAt() String Function\". A string is a sequence of characters. Sometimes we need to access a character in the string. The Java String function charAt() returns the character at a given position in a string.\nHere is an example. First, we create a string in Java:\nString s = \"T..."
url: "https://hashnode.com/posts/how-to-java-charat-string-function/618a5bb0f991b025366df6e7"
---

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

Discussion

# [How-To: Java charAt() String Function](https://edtorres.hashnode.dev/how-to-java-charat-string-function?utm_source=hashnode&utm_medium=feed)

A string is a sequence of characters. Sometimes we need to access a character in the string. The Java String function charAt() returns the character at a given position in a string. Here is an example. First, we create a string in Java: String s = "T...

Nov 9, 2021 · 2 min read · edtorres.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)

## Written by

[Edwin Torres](https://hashnode.com/@realEdwinTorres)

@realEdwinTorres · US

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

Writing code for a living

Husband. Father. Software engineer @MITREcorp. Lecturer. Helping you code. The opinions expressed in this blog are my own. #JavaScript #NodeJS #Java #Python

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
