Fully managed cloud. 30-day FREE full featured trial. Start Now
cancel
Showing results for 
Search instead for 
Did you mean: 

how can add-prefix.

Chandan0527
Padawan

Create a function add_prefix(arr, prefix) that takes an array of strings arr and a string prefix as an input. It should output a comma-separated list of all elements in the array with the prefix before each element.

  • Example call: print(add_prefix( {'firstname', 'lastname', 'city'}, 'person.'))
  • Should show: person.firstname, person.lastname, person.city
1 ACCEPTED SOLUTION

Accepted Solutions

exa-Uwe
Moderator
Moderator

Dear Chandan,

I'm glad to see you being engaged with our free online learning course Exasol Database Development!

The hands-on exercises in that course are there to improve your learning experience by solving little tasks (like the one you posted here) with some practical coding. As a side aspect, solving them indicates to us that people really work through the course so they become eligible to receive a free certification voucher.

Please try to solve them on your own instead of trying to copy a solution from someone else - that's also better for your understanding of Exasol Database Development.

Thank you &

Best regards

Uwe

View solution in original post

1 REPLY 1

exa-Uwe
Moderator
Moderator

Dear Chandan,

I'm glad to see you being engaged with our free online learning course Exasol Database Development!

The hands-on exercises in that course are there to improve your learning experience by solving little tasks (like the one you posted here) with some practical coding. As a side aspect, solving them indicates to us that people really work through the course so they become eligible to receive a free certification voucher.

Please try to solve them on your own instead of trying to copy a solution from someone else - that's also better for your understanding of Exasol Database Development.

Thank you &

Best regards

Uwe