An open API service indexing awesome lists of open source software.

https://github.com/candytale55/substring_between_letters_py_3

substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple", "p", "e") should return "pl".
https://github.com/candytale55/substring_between_letters_py_3

code-challenges codecademy python-strings string-challenges-codecademy string-manipulation substring-search substrings

Last synced: 3 months ago
JSON representation

substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple", "p", "e") should return "pl".

Awesome Lists containing this project