0

I have "X1lNtWp4_e" type of string on SQL code.

I wanna convert like X1lNtWp4_e without the ( " ).

My DB Engine codes like MySQL I think.

I'm using http://chartio.com so i'm not sure which db engine.

1 Answer 1

1

Chartio is just a front end but assuming your DB is MySQL simply use:

Use the TRIM function with the BOTH argument:

SELECT TRIM(BOTH '"' FROM '"X1lNtWp4_e"')
FROM yourtable

Use the REPLACE function if the middle content contains " also and you want them removed:

SELECT REPLACE('"X1lNtWp4_e"', '"', '')
FROM yourtable
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.