Hey there! After a well spent vacation time, I’m back with a new bonfire solution. This time, we are going to be working through the FCC DNA Pairing bonfire. The explanation provided by FCC may […]
Tag: String
FCC Bonfire Series 114: Mutations
Time for a new bonfire, mutations. This challenge will have us write a function that takes in an array with two items inside. Both of this items are strings. The function should return true if […]
FCC Bonfire Series 111: Truncate a String
Today, we’ll be solving the truncate a string bonfire. In this exercise, we are asked to write a function that takes two arguments: a string of any length, and the maximum number of characters that […]
FCC Bonfire Series 110: Repeat a string repeat a string
The challenge this time will have us write a function that takes two arguments, a string and a number. The function should return a single string that contains the original string, repeated the number of […]
FCC Bonfire Series 109: Confirm the Ending
Todays challenge is easy: we must write a function that takes in two arguments. We must check if the first string ends with the given second string. Let me illustrate with an example: end(“Gorka Hernandez”, […]