Affiliate link
Python - Strings
String functions
[]- Get a character with [] indexslice()- Get substring with slice()join()- Combine string with join()replace()- Substitute string with replace()strip()- Strip string with strip()
String - Get a character with [] index
String - Get substring with slice()
[:][start:][:end][start:end][start:end:step]
<script type="text/javascript">
alert("Hello World, LearnCodeNow!")
</script>String - Combine string with join()
<script type="text/javascript">
alert("Hello World, LearnCodeNow!")
</script>String - Substitute string with replace()
<script type="text/javascript">
alert("Hello World, LearnCodeNow!")
</script>String - Strip string with strip()
<script type="text/javascript">
alert("Hello World, LearnCodeNow!")
</script>Affiliate link
Affiliate link




