New course! Every coder should learn Generative AI!
Try a free lesson+ 3
How to cut string?
comment
2 Answers
+ 3
You can probably copy part of a string and store it.
Like you have
a="string"
and you wanna cut out "str", you can do
a_new=a[:3]
0
hahaha