Click here to Skip to main content
15,884,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in ssis i have a requirement
I have a data like this

Ram krishna raja           <br />
mahesh kundan varma


need output like

Ram" "krishna" "raja           <br />
mahesh" "kundan" "varma


Please anyone help

Thanks &Regards,
Prakash.ch
Posted
Updated 25-Sep-13 23:39pm
v2
Comments
Akinmade Bond 26-Sep-13 5:35am    
You want a double apostrophe at the end of the first word, around the second word and at the start of the third word?
prakash.chakrala 26-Sep-13 5:41am    
where ever spaces between words in a string i have to replace with " "(double quote with space)
Mubin M. Shaikh 27-Sep-13 5:26am    
Hi,

Various ways to achive this in ssis, One way i am suggesting to use is Script Task,or script component, Store your string in package level variable and pass this variable as input to this script task and do replacement of Blank space with "" using c# code.

you can use, strinvar.Replace function to replace space with "".

1 solution

Yes do the same this thing as Prakash suggested. wherever you find space, replace it with " ". You can use script component and in that do this logic
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900