Python Forum
[Basic] Strings, index and slicing - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: Tutorials (https://python-forum.io/forum-4.html)
+---- Forum: Fundamentals (https://python-forum.io/forum-40.html)
+---- Thread: [Basic] Strings, index and slicing (/thread-125.html)



Strings, index and slicing - metulburr - Sep-01-2016

Single and Double Quotes

Concatenation

Triple Quotes

Escape Sequences

Raw Strings

Indexing and slicing

String Conversion
str(), int(), and repr()

Character Code Conversions
ord() and chr()

String Changing

String Methods
str.replace()

str.find()

str.capitalize(), str.title(), str.lower(), str.upper(), str.swapcase()
str.split()

str.join()



RE: String basic - micseydel - Oct-03-2016

I feel like string formatting can be a separate post, especially since this is pretty long. We might want to create a sub-forum for "retired" tutorials, and aim for smaller ones, as some of these are, I feel, longer than they need to be in a way that doesn't foster learning the basics as well.


RE: String basic - metulburr - Oct-03-2016

better?


RE: String basic - micseydel - Oct-03-2016

oooOOOoo, yeah! I would probably keep the need-to-know stuff expanded, and hide stuff which is less basic.


RE: String basic - metulburr - Oct-03-2016

i was thinking the whole thing as an index, that you choose what you want to expand and view (since there are so many). You can easily see the list of entirety.


RE: String basic - micseydel - Oct-03-2016

Hm. That sounds more like a reference than a tutorial to me. I guess it's not that a deal though, occasionally clicking to expand as you go through. It's definitely more organized.