---
title: "Discussion on \"Getting a substring in Dart\" | Hashnode"
description: "Discussion on \"Getting a substring in Dart\". I was trying to figure out the most efficient way to trim or shorten a String in Dart(more speficially for a Flutter project) yesterday. There's actually a couple of different ways to do it.\nThe substring method\nThe first and most typical one is usin..."
url: "https://hashnode.com/posts/getting-a-substring-in-dart/6114809b119030192497abab"
---

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

Discussion

# [Getting a substring in Dart](https://flutterramblings.hashnode.dev/getting-a-substring-in-dart?utm_source=hashnode&utm_medium=feed)

I was trying to figure out the most efficient way to trim or shorten a String in Dart(more speficially for a Flutter project) yesterday. There's actually a couple of different ways to do it. The substring method The first and most typical one is usin...

Aug 12, 2021 · 2 min read · flutterramblings.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Jordan Holland](https://hashnode.com/@jholla)

@jholla

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

I'm a Flutter enthusiast that started out with Android and Java development.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
