Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python subtract 2 strings
Themacdaddynyc
Programming language:
Python
2021-06-30 06:20:19
0
Q:
python subtract 2 strings
ladybel
Code:
Python
2021-07-29 11:27:03
def substract(a, b): return "".join(a.rsplit(b))
1
Tags
string
python
strings
sub
Related
adding two string in python
how to print multiple strings on one line in python
how to concat join 2 strings in python
comparing strings in python
get the largest of 2 strings python
python compare strings
concatenate two dictionnaries python
find common string in two strings python
contar ocorrĂȘncias letra string python
python substring in string
concatenate strings and int python
find text between two strings regex python
check if two strings are anagrams python
get text between two strings python
concatenate numbers python
print multiple strings in python
New to Communities?
Join the community