# Project Strings: improving strings support || Blog Post #3 || GSoC

**URL:** <https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-3-gsoc/1389>\
**Category:** GSoC-2021\
**Created:** [June 14, 2021, 2:55pm UTC](https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-3-gsoc/1389 "2021-06-14T14:55:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Aman](https://fortran-lang.discourse.group/u/Aman)\
**Post date:** [June 14, 2021, 2:55pm UTC](https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-3-gsoc/1389/1 "2021-06-14T14:55:00Z")

</div>

Hello everyone!,

This post is regarding GSoC project on [improving strings support](https://summerofcode.withgoogle.com/projects/#4976006198198272) in Fortran.

The requirements of the project are such that the involvement of community will be fruitful for the overall acceptance of the libraries that are being developed under this project as the “go-to” libraries for performing string operations in Fortran.  
Thus, I invite everyone to improve Fortran by leaving opinions/feedbacks on the functionalities that are currently in discussion.  
If you have any functionality in your mind to propose or discuss, please feel free to tag me ([@Aman-Godara](https://github.com/Aman-Godara)).

**currently in discussion** :

1). find function for substring matching [#421](https://github.com/fortran-lang/stdlib/issues/421)

_Short Description_: The function returns the starting index of the substring `pattern` in the input `string`.  
This function already existed in Fortran as intrinsic `index` but due to its limited functionalities there was a need to design a modified version of this `index` function.

Function `find` provides user with the functionality to return the starting index of the `occurrence` th occurrence of the substring `pattern` and also, it has been provided with an option to consider or not consider overlapping substrings as different.

_Linked PR_: [#433](https://github.com/fortran-lang/stdlib/pull/433)  
_Current Status_: PR under review

2). Count (not raised yet)

_Short Description_: The function returns the number of times the `pattern` substring occurred in the given string `string`.

3). Replace substring in character/string\_type [#366](https://github.com/fortran-lang/stdlib/issues/366)

_Short Description_: The function replaces the input `pattern` substring with the `replacement` string in a given string `string`.

Please use the above given link to know more about the functionality, linked PR (Pull Request) and to join the discussion.

**Previous work(s)**:

[Blog Post #2](https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-2-gsoc/1330)

1). find function for substring matching [#421](https://github.com/fortran-lang/stdlib/issues/421)

_Linked PR_: [#414](https://github.com/fortran-lang/stdlib/pull/414)  
_Current Status_: Under review

2). Count (not raised yet)  
_Linked PR_: None yet  
_Current Status_: No change

3). Replace substring in character/string\_type [#366](https://github.com/fortran-lang/stdlib/issues/366)  
_Linked PR_: None yet  
_Current Status_: No change

[Blog Post #1](https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-1-gsoc/1295)

1). intelligent slice functionality for strings [#413](https://github.com/fortran-lang/stdlib/issues/413)  
_Linked PR_: [#414](https://github.com/fortran-lang/stdlib/pull/414)  
_Current Status_: Merged, documentation [here](https://stdlib.fortran-lang.org/page/specs/stdlib_strings.html#slice).

If possible, please take out some time to once review function `slice`'s documentation.

---

<div class="post-metadata">

**Author:** ![Aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Aman](https://fortran-lang.discourse.group/u/Aman)\
**Post date:** [June 14, 2021, 2:57pm UTC](https://fortran-lang.discourse.group/t/project-strings-improving-strings-support-blog-post-3-gsoc/1389/2 "2021-06-14T14:57:14Z")

</div>

@awvwgk, @milancurcic, @certik  
Blog Post 3
