Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
postgresql remove characters start with

I want to make a postgresql query which removing characters. For example, my datas are like this;

John Smith https://john.smith.com
Allen Paul https://allen.paul.com

I want to remove characters which start with https. I want to see in the final like this;

John Smith
Allen Paul

Can anybody help me. Thanks...

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

split_part is good for this:

t=# select split_part('Allen Paul https://allen.paul.com',' https://',1);
 split_part
------------
 Allen Paul
(1 row)

Time: 1.370 ms
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!