Title: Informatik 1 / String

Q: size or length
A: Return length of string

Q: resize
A: Resize string

Q: clear
A: Clear string

Q: empty
A: Test if string is empty

Q: [] (operator) or at
A: Get character of string

Q: back
A: Access last character

Q: front
A: Access first character

Q: = (operator) or assign
A: Assign content to string

Q: += (operator) or append
A: Append to string

Q: push_back
A: Append character to string

Q: pop_back
A: Delete last character from string

Q: insert
A: Insert into string

Q: erase
A: Erase character from string

Q: replace
A: Replace portion of string

Q: swap
A: Swap string values

Q: + (operator)
A: Concatenate two strings into one

Q: == (operator)
A: Compare two strings

Q: find
A: find content in string

Q: substr
A: Generate substring