C++ C++ Basic String

Introduction

  1. C++ String
  2. C++ String Concatenating
  3. C++ String Characters Accessing
  4. C++ String Comparing
  5. C++ String Input
  6. C++ String Pointer
  7. C++ String Substrings
  8. C++ String Substring Searching


  9. C++ String Question
  10. C++ String Read from Standard Input Question
  11. C++ String Creating a Substring Question
  12. C++ String Finding a single Character Question
  13. C++ String Finding a Substring Question
  14. C++ String Remove any spaces within a string
  15. C++ string erase() Remove any spaces within a string
  16. C++ string find all specific character


  17. C++ string Insert a substring at insertion point
  18. C++ string append two strings
  19. C++ string find Searching Within Strings
  20. C++ string search for a sub string
  21. C++ string find Searching Within Strings by offset
  22. C++ string search for a single letter
  23. C++ string find_first_of Search for a single character
  24. C++ string swap string value
  25. C++ string Defining and assigning string objects
  26. C++ string at()
  27. C++ string copy
  28. C++ string Assign value from char array
  29. C++ string Accessing characters in string objects
  30. C++ string replace()
  31. C++ string insert()
  32. C++ string append()
  33. C++ string size()
  34. C++ string Changing parts of string objects
  35. C++ string erase()
  36. C++ string compare()
  37. C++ string substr()
  38. C++ string Comparing string objects
  39. C++ string find()
  40. C++ string find_first_of()
  41. C++ string find_first_not_of()
  42. C++ string Finding substrings in string objects
  43. C++ string Read from Standard Input via getline()
  44. C++ String input and output
  45. C++ string and char Data Types
  46. C++ string length
  47. C++ string compare string values
  48. C++ string at() Access a char from string one by one
  49. C++ string find() Search sub string
  50. C++ string substr() get sub string
  51. C++ string operator []
  52. C++ string for loop to access each character via position index
  53. C++ string Accessing characters in a string
  54. C++ string anagrams check
  55. C++ String array sort via sort() and comparison function
  56. C++ string Concatenating strings
  57. C++ string const_iterator
  58. C++ string const_reverse_iterator
  59. C++ String Create a String Variable via the string Type
  60. C++ String Create raw or cooked string
  61. C++ string Create string object in various ways
  62. C++ string Finding words that begin with a given letter.
  63. C++ string for each loop with auto
  64. C++ string for each loop with Constant Access on string value
  65. C++ string get Frequency of words in text.
  66. C++ String index Use Brackets to Access Individual Characters in a String
  67. C++ String Insert string, remove characters, replace substring
  68. C++ string iterator Decrementing
  69. C++ string iterator Incrementing
  70. C++ string iterator update string
  71. C++ string Looping backward via string::reverse_iterator
  72. C++ string Looping Decrementing string::iterator
  73. C++ string Looping over a String character by character
  74. C++ string Range-Based for loop on string value
  75. C++ string read string with blanks from standard input
  76. C++ string Reading and validating a date of birth
  77. C++ string Remove spaces in String
  78. C++ string Replacing a word in text by asterisks.
  79. C++ string Replacing words in a string
  80. C++ string Reversing the order of a string of characters.
  81. C++ string Searching a string for a substring
  82. C++ string Searching a string for characters from a set
  83. C++ string update via iterator
  84. C++ String via char array
  85. C++ string via char array using NULL Terminator
  86. C++ string via STL String
  87. C++ string::reverse_iterator Move backward through a string from end to beginning