CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
179
String LengthA string is given.
easyNot startedSolve
180
To UppercaseA string is given.
easyNot startedSolve
181
To LowercaseA string is given.
easyNot startedSolve
182
First CharacterA string is given.
easyNot startedSolve
183
Last CharacterA string is given.
easyNot startedSolve
184
SubstringA string is given.
easyNot startedSolve
185
Contains a SubstringA string is given.
easyNot startedSolve
186
Replace CharactersA string is given.
easyNot startedSolve
187
Index of a CharacterA string is given.
easyNot startedSolve
188
Starts WithA string is given.
easyNot startedSolve
189
Ends WithA string is given.
easyNot startedSolve
190
Trim WhitespaceA string with surrounding spaces is given.
easyNot startedSolve
191
Concatenate Two StringsTwo strings are given.
easyNot startedSolve
192
Repeat a CharacterUse the new string(char, count) constructor to print the '' character repeated 5 times.
easyNot startedSolve
193
Build a Full NameA first and last name are given.
easyNot startedSolve
194
Compare Two StringsTwo strings are given.
easyNot startedSolve
297
How Long Is the Word?Every string keeps track of how many characters it holds through its Length property.
easyNot startedSolve
298
Shout It in UppercaseStrings can produce an all-capitals copy of themselves using the ToUpper method.
easyNot startedSolve
299
Quiet It Down to LowercaseJust as ToUpper makes a capitalized copy of a string, ToLower makes an all-lowercase copy.
easyNot startedSolve
300
Grab the First Few LettersThe Substring method lets you pull out a smaller piece of a string.
easyNot startedSolve
301
Swap Cats for DogsThe Replace method returns a new string in which every occurrence of one piece of text is swapped for another.
easyNot startedSolve
302
Does It Have an At Sign?The Contains method checks whether a string includes a smaller piece of text and returns a bool: true if the text is found, false if it is not.
easyNot startedSolve
303
Join First and Last NameYou can glue strings together with the + operator; this is called concatenation.
easyNot startedSolve
492
String InterpolationA string variable name is set to "Sam".
easyNot startedSolve
493
Split a StringThe string "apple,banana,cherry" contains three items separated by commas.
easyNot startedSolve
494
Join Strings with a SeparatorAn array holds the pieces "a", "b", and "c".
easyNot startedSolve
495
Pad Left with ZerosThe string "42" should be shown as a 5-character number with leading zeros.
easyNot startedSolve
496
Pad Right with SpacesPad the string "Hi" on the right with spaces to a total width of 5, then append a "|" so the padding is visible.
easyNot startedSolve
497
Convert to a Char ArrayConvert the string "code" into a char array with ToCharArray, then print the first character (see Expected Output).
easyNot startedSolve
498
Check If a String Is EmptyA string s is set to "" (empty).
easyNot startedSolve
499
Trim Leading WhitespaceThe string " hi" has three leading spaces.
easyNot startedSolve
500
Trim Trailing WhitespaceThe string "hi " has three trailing spaces.
easyNot startedSolve
501
Character to ASCII CodeThe char value 'A' has an ASCII code.
easyNot startedSolve
502
Count the SpacesCount how many space characters are in the string "a b c" and print the total (see Expected Output).
easyNot startedSolve
503
Insert Text into a StringThe string "Helloworld" is missing a space.
easyNot startedSolve
504
Remove Part of a StringThe string "Hello World" should keep only its first word.
easyNot startedSolve
195
Count the VowelsA word is given.
mediumNot startedSolve
196mediumNot startedSolve
197
Reverse a StringA word is given.
mediumNot startedSolve
198
Count WordsA sentence is given.
mediumNot startedSolve
199
Capitalize First LetterA lowercase word is given.
mediumNot startedSolve
200
Count Uppercase LettersA string is given.
mediumNot startedSolve
304
Build the Uppercase InitialsCombine a few string tools to build someone's initials.
mediumNot startedSolve
305
Capitalize the First LetterTake a fully lowercase word and capitalize only its first letter, leaving the rest unchanged.
mediumNot startedSolve
306
Censor the Secret WordCombine Replace and Contains to censor sensitive text and then verify your work.
mediumNot startedSolve
505
Count Digits in a StringRead one line of text from input and print how many of its characters are digits (0-9).
mediumNot startedSolve
506
Count ConsonantsCount the consonants in "hello world" — the alphabetic letters that are not vowels (a, e, i, o, u).
mediumNot startedSolve
507
Remove All VowelsRemove every vowel (both cases of a, e, i, o, u) from "Hello World", keeping all other characters including the space, and print the result (see Expected Output).
mediumNot startedSolve
508
Convert to Title CaseCapitalize the first letter of each word in "hello world", leaving the remaining letters unchanged, and print the output shown in Expected Output.
mediumNot startedSolve
509
Swap the CaseSwap the case of every letter in "Hello World" — uppercase becomes lowercase and lowercase becomes uppercase.
mediumNot startedSolve
510
Extract the First WordRead one line of text and print only its first word — the part before the first space.
mediumNot startedSolve
511
Get the InitialsTake the first letter of each word in "John Fitzgerald Kennedy", uppercase it, and join the letters into initials.
mediumNot startedSolve
512
Count Substring OccurrencesCount how many times the substring "ab" appears in "abcabcab", searching left to right without overlaps.
mediumNot startedSolve
201
Is It a PalindromeA word is given.
hardNot startedSolve
202
Most Frequent CharacterA string of lowercase letters is given.
hardNot startedSolve
203
Reverse the WordsA sentence is given.
hardNot startedSolve
513
Check for AnagramsTwo words are anagrams when they contain exactly the same letters rearranged.
hardNot startedSolve
514
Run-Length EncodingCompress "aaabbc" using run-length encoding: replace each run of the same character with that character followed by the length of the run.
hardNot startedSolve
515
Find the Longest WordSplit "I love programming challenges" into words and print the single longest one (see Expected Output).
hardNot startedSolve
516
Caesar CipherEncrypt "hello" with a Caesar cipher that shifts each letter forward by 3 places in the alphabet (wrapping from z back to a).
hardNot startedSolve