Working with Strings Flashcards

1
Q

String Equality

A

Strings are equal if have same characters in the same order.
Capital and lowercase letters are considered different.
==, !=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

String Relational Comparisons

A

Strings that come earlier in the alphabet are less than those that come later

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Index

A

The number position of a string character.
Starting with 0.
at()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

include < string >

A

String library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly