@awdev_6: Python remove prefix #programming #awdev_6

CodeStra
CodeStra
Open In TikTok:
Region: DZ
Saturday 23 May 2026 23:00:35 GMT
46655
2529
53
43

Music

Download

Comments

ggggggg.don
w :
replace("www.", "") ?
2026-05-24 05:15:09
20
eldarrrrr_12
eldar :
you can also just remove the first 4 characters of the string instead🙏🥀
2026-05-23 23:04:54
20
fakkoprime
({¡}) :
Another loss for python.
2026-05-24 04:07:59
3
espartan113
Ander Santos :
or better print(link[4:])
2026-05-24 04:04:27
5
editor.matmat
... :
is there an app to practice coding on mobile???
2026-05-25 05:40:30
2
kostiramoutsakis
Kosti 🇬🇷 :
Just use print ('Wikipedia.com)
2026-05-24 11:29:33
2
merfilekog
😵‍💫Merfilek😵‍💫 :
What about just to remove the 4 first letters?
2026-05-24 08:54:00
1
amazingsmazing
smazing :
So what should we use instead? an llm
2026-05-24 04:19:22
3
denvernerd
denvernerd :
Missed opportunity to explain regex.
2026-05-24 00:58:51
4
achref1.0
charf27 :
just do print (link[4:])
2026-05-24 07:59:01
8
sloth.cam
sloth :
it's only 4 chars. just split it: print(link[4:])
2026-05-24 11:44:02
1
noahstech.iso
noah 💿 :
or just setup a redirect rule on cloudflare
2026-05-24 09:14:06
1
ppedrooo_._
nenufark1ng :
domain?
2026-05-24 00:53:46
8
bybba.reborn
BUBBA_REBORN :
python is so ez
2026-05-24 04:58:10
2
musaferraaho
M.K.R :
Man this is a useful channel.
2026-05-23 23:22:12
1
finbacon_real
Finbacon_real :
Domain?
2026-05-24 05:48:40
3
seraphim.von
Seraph :
but if the link starts with http:// or https:// it will prove futile to use remove prefix, so we use regular expressions better.
2026-05-24 00:06:56
3
martinez.odnov
Martinez Odnov :
😳😳😳
2026-05-24 07:47:05
1
olu2179
olu21 :
🥰
2026-08-28 14:07:22
0
markjohnson572
Mark :
❤️❤️❤️
2026-05-29 06:59:16
0
olu2179
olu21 :
😁
2026-08-28 14:07:24
0
olu2179
olu21 :
😂
2026-08-28 14:07:24
0
To see more videos from user @awdev_6, please go to the Tikwm homepage.

Other Videos


About