I have a column in the data base that stores the data like
//item
//item//item3
//text
//item//item3//item 10
Is there a way to select this as
/item
/item/item3
/text
//item/item3/item10
*note the spaces are removed.
Thank you in advanced?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From your example, I assume that you want to replace the double slashes with single slashes, and remove spaces that are not in front of a slash. (And that the double slash that is not replaced is a mistake.)
You can use replaces to do that:
Note: This won’t work properly if you have /// somewhere in the data.