• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/14

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

14 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

trim method

removes any space characters from both the beginning and end of a string

remove method

removes a specified number anywhere in the string

string.remove(startindex[numCharstoRemove])


start index = removes the the first character you want (first char. starts at 0)


numChar = number of characters you want to remove



insert method

allows you to insert characters in the string

string.insert(startindex, value)


we start with an index of 0



padleft method

right-aligns a string by inserting characters at the beginning of a string

string.padleft(totalchars[padCharacters])

padright method

left aligns a string by inserting characters at the end of the string

string.padright(totalcharacters[padcharacters])

contains method

returns the boolean value true when the substring is contained anywhere in the string

string.contains(substring)


ex;


strlocation = "Louisville, KY"


blniIsContained = strlocation.contains("KY")




the substring is case sensitive




to convert to upper characters simply


toUpper.contains(substring)

indexof method

determines whether a string contains a specific sequence of characters; returns either -1 (if the string does not contain the sequence of characters) or an integer that represents the starting position of the sequence of characters

string.indexof(substring[startindex])




also case sensitive

substring method

used to access any number of characters contained in a string

like operator

this allows you to use pattern matching characters to determine weather one string is equal to another string

menu strip control

is used to include one more menus on a windows form

shortkeys(menustrip control)

appears to the right of the menu item and allows the user to select the item without opening the menu

pattern matching

? = single character; * = zero or more characters; #= single digit; know[characterlist] and [!characterList]

apart of the like operator

enable property

used to enable (True) or disable (False) a control during run time

length property

stores an integer that represents the number of characters contained in a string