1. Engineering
  2. Computer Science
  3. problem 2 use string primitives to create an expression that...

Question: problem 2 use string primitives to create an expression that...

Question details

Problem 2: Use string primitives to create an expression that adds "_" at position i (the position that is i characters from the left of the string). Again, in this particular example, the expected result is "hello_world".

;; Complete Problem 2 below using the following constants


(define STR "helloworld")
(define i 5)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution