I require a new ms sql stored procedure that will take a string as input and return a modified string.
Example:
Input string: dragonfly wings
Output string: 'ISABOUT(dragonfly weight (1.0), wings weight (.9))'
The single quotes need to be in the resulting string.
weight begins at 1.0 and reduces by .1 for each word, never going below .1 in the result string.
If the input is only one word, then return only the one word.
Example:
Input String: dragonfly
Output String: dragonfly
So you will need to know the number of words in the input string to determine the correct output.
I need this today or tomorrow.
## Deliverables
You must be able to deliver this stored procedure code via email for me to test before final payment. Provide instructions on how to call from my code as well, which I will provide.