DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
replace special from beginning of string
s="Hello? Python3?"s1=s.replace("$","")print (s1)#Output:Hello Python3
Source by betterprogramming.pub #
PREVIOUS
NEXT
Tagged:
#replace
#special
#beginning
#string
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit