Python question: I have a string variable that holds: "music cool stuff here"
I want to be able to get everything after music, how would I do so?
cool stuff here
hope this helps :)
>>56119561
what code do i use tho ;_;
>>56119580
idk why you're using python lol
>>56119734
thank you omg
"music cool stuff here"[6:]
def OPisAfaggot():
string="music cool stuff here"
for i in range(len(string)):
if string[i]==" ":
return string[i:]
Do you have a more general statement of what you're trying to do? For example, this line will remove the first word:s = 'music cool stuff here'
s = ' '.join(s.split(' ')[1:])