+ 1
How to delete a someone string
ask
18 Respostas
+ 2
var str="MBH help his friend";
var strCut="";
for(let i=9; i<19; i++)
strCut+=str[i]
alert(strCut)
+ 2
Python đđ
str="MBH help his friend"
print(str[9:19])
+ 2
str="MBH help his friend"
print(str[9:19]) #đ
+ 2
str="other way"
strCut=""
for i in rang(6,9):
strCut+=str[i]
print(strCut) # way
+ 1
Do you mean cut it?
+ 1
Ok by JavaScript
+ 1
var str="MBH help his friend";
alert(str.substr(9,17))
+ 1
Or in other languages
+ 1
I am talking about js but u use the last in python
+ 1
No bro, this for js. I need for python3
+ 1
his friend
+ 1
See ::
str="any thing" #first letter is a equal 0 and n = 1 ...
print(str[4:9]) #4 5 6 7 8 9 equal thing ###
+ 1
Yea
0
Yes, true
0
For Python language
0
What's output??
0
Is there another way?
besides that way ...
0
Ok thx:v