{"id":1800,"date":"2025-02-02T08:20:25","date_gmt":"2025-02-02T01:20:25","guid":{"rendered":"https:\/\/www.pgtutorial.com\/?page_id=1800"},"modified":"2025-03-19T22:08:47","modified_gmt":"2025-03-19T15:08:47","slug":"postgresql-string-functions","status":"publish","type":"page","link":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/","title":{"rendered":"PostgreSQL String Functions"},"content":{"rendered":"\n<p>This page provides comprehensive PostgreSQL string functions that help you effectively manipulate text data.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='extracting-strings'>Section 1. Extracting Strings <a href=\"#extracting-strings\" class=\"anchor\" id=\"extracting-strings\" title=\"Anchor for Section 1. Extracting Strings\">#<\/a><\/h2>\n\n\n\n<p>This section introduces the functions for extracting a substring from a string.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-left\/\">LEFT(string, n)<\/a> &#8211; Returns the first <code>n<\/code> characters of the string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-right\/\">RIGHT(string, n)<\/a> &#8211; Returns the last <code>n<\/code> characters of the string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-substring\/\">SUBSTRING()<\/a> &#8211; Returns a substring from a string using various options.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='case-manipulation-functions'>Section 2. Case Manipulation Functions <a href=\"#case-manipulation-functions\" class=\"anchor\" id=\"case-manipulation-functions\" title=\"Anchor for Section 2. Case Manipulation Functions\">#<\/a><\/h2>\n\n\n\n<p>This section shows how to convert a string to lowercase, uppercase, and initial caps.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-lower\/\">LOWER(string)<\/a> &#8211; Returns a new string with all characters in the input string converted to lowercase.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-upper\/\">UPPER(string) <\/a> &#8211; Returns a new string with all characters in the input string converted to uppercase.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-initcap\/\">INITCAP(string)<\/a> &#8211; Return a new string with the letter of each word in the input string to uppercase and the remainder to lowercase.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='finding-strings'>Section 3. Finding Strings <a href=\"#finding-strings\" class=\"anchor\" id=\"finding-strings\" title=\"Anchor for Section 3. Finding Strings\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-position\/\">POSITION(substring IN string)<\/a> &#8211; Returns the starting location of the first instance of a substring in a string.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='trimming-strings'>Section 4. Trimming Strings <a href=\"#trimming-strings\" class=\"anchor\" id=\"trimming-strings\" title=\"Anchor for Section 4. Trimming Strings\">#<\/a><\/h2>\n\n\n\n<p>This section introduces various string trimming functions to remove specified characters from the start, end, or both ends of a string.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-trim\/\">TRIM([LEADING | TRAILING | BOTH] [characters] FROM string)<\/a> &#8211; Removes unwanted characters (or whitespace by default) from the beginning, end, or both ends of a string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-btrim\/\">BTRIM(string[, characters])<\/a> &#8211; Removes the specified characters from both ends of a string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-ltrim\/\">LTRIM(string[, characters])<\/a> &#8211; Removes the specified characters from the start of a string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-rtrim\/\">RTRIM(string[, characters])<\/a> &#8211; Removes the specified characters from the end of a string.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='formatting-strings'>Section 5. Formatting Strings <a href=\"#formatting-strings\" class=\"anchor\" id=\"formatting-strings\" title=\"Anchor for Section 5. Formatting Strings\">#<\/a><\/h2>\n\n\n\n<p>This section shows you how to pad a string on the left or right with specified characters.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-lpad\/\">LPAD(string, length[, fill])<\/a> &#8211;  Pads the string on the left with the specified characters until the result string has a certain length.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-rpad\/\">RPAD(string, length[, fill])<\/a> &#8211; Pads the string on the right with the specified characters until the result string has a certain length.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-format\/\">FORMAT(format, format_arg [, &#8230;])<\/a> &#8211; Returns a formatted string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-to_char\/\">TO_CHAR(value, format)<\/a> &#8211; Formats a value such as a date, time, timestamp, number to a formatted string.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='replacing-repeating-and-overlaying-functions'>Section 6. Replacing, Repeating, and Overlaying Functions <a href=\"#replacing-repeating-and-overlaying-functions\" class=\"anchor\" id=\"replacing-repeating-and-overlaying-functions\" title=\"Anchor for Section 6. Replacing, Repeating, and Overlaying Functions\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-replace\/\">REPLACE(string, substring, new_substring)<\/a> &#8211; Replaces all occurrences of a substring in an input string with a new one.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-translate\/\">TRANSLATE(string, from_set, to_set)<\/a> &#8211; Returns a string in which all characters in the <code>from_set<\/code> are replaced by the corresponding characters in the <code>to_set<\/code> set.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-repeat\/\">REPEAT(string, number)<\/a> &#8211; Repeats the given string a specified number of times.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-overlay\/\">OVERLAY(original PLACING replacement FROM start [FOR length])<\/a> &#8211; Replaces a substring specified by a starting position and length with a new substring.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='string-concatenation-functions'>Section 7. String Concatenation Functions <a href=\"#string-concatenation-functions\" class=\"anchor\" id=\"string-concatenation-functions\" title=\"Anchor for Section 7. String Concatenation Functions\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-tutorial\/postgresql-concat\/\">CONCAT(s1, s2, &#8230;)<\/a> &#8211; Returns a string that is concatenated from multiple strings.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-concat_ws\/\">CONCAT_WS(separator, s1, s2, &#8230;)<\/a> &#8211; Returns a string that is the result of concatenating two or more strings with a separator.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='regular-expression-functions'>Section 8. Regular Expression Functions <a href=\"#regular-expression-functions\" class=\"anchor\" id=\"regular-expression-functions\" title=\"Anchor for Section 8. Regular Expression Functions\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-regexp_match\/\">REGEXP_MATCH(string, pattern [, flags])<\/a> &#8211; Returns an array of all substrings that match a regular expression pattern.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-regexp_matches\/\">REGEXP_MATCHES(string, pattern [, flags])<\/a> &#8211; Returns a set of arrays of all substrings in a string, which matches a regular expression pattern.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-regexp_replace\/\">REGEXP_REPLACE(string, pattern, replacement [, flags])<\/a> &#8211; Replaces substrings that match a regular expression pattern with a new string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-regexp_split_to_array\/\">REGEXP_SPLIT_TO_ARRAY(string, pattern [, flags])<\/a> &#8211; Splits a string into an array of substrings using a POSIX regular expression as the delimiter.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-regexp_split_to_table\/\">REGEXP_SPLIT_TO_TABLE(string, pattern [, flags])<\/a> &#8211; Splits a string into multiple rows (a set of text values) based on a regular expression delimiter.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='length-and-character-functions'>Section 9. Length and Character Functions <a href=\"#length-and-character-functions\" class=\"anchor\" id=\"length-and-character-functions\" title=\"Anchor for Section 9. Length and Character Functions\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-length\/\">LENGTH(string)<\/a> &#8211; Returns the number of characters in the string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-ascii\/\">ASCII(string)<\/a> &#8211; Returns the ASCII code of the first character of the string.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-chr\/\">CHR(integer)<\/a> &#8211; Returns the character corresponding to the given ASCII (or Unicode) code.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/\">REVERSE(string)<\/a> &#8211; Returns a new string with the characters of the input string are in reverse order.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id='quoting-functions'>Section 10. Quoting Functions <a href=\"#quoting-functions\" class=\"anchor\" id=\"quoting-functions\" title=\"Anchor for Section 10. Quoting Functions\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-quote_ident\/\">QUOTE_IDENT(string)<\/a> &#8211; Safely quote SQL identifiers.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-quote_literal\/\">QUOTE_LITERAL(string)<\/a> &#8211; Produces a safely escaped version of a literal string for inclusion in SQL commands.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-quote_nullable\/\">QUOTE_NULLABLE(string)<\/a> &#8211; Similar to <code>QUOTE_LITERAL<\/code> but returns a &#8216;NULL&#8217; string if the input is <code>NULL<\/code>.<\/li>\n<\/ul>\n<\/div><\/div>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"1800\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL String Functions\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"1800\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL String Functions\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This page provides comprehensive PostgreSQL string functions that help you effectively manipulate text data.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1800","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PostgreSQL String Functions<\/title>\n<meta name=\"description\" content=\"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL String Functions\" \/>\n<meta property=\"og:description\" content=\"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"PostgreSQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-19T15:08:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/\",\"name\":\"PostgreSQL String Functions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\"},\"datePublished\":\"2025-02-02T01:20:25+00:00\",\"dateModified\":\"2025-03-19T15:08:47+00:00\",\"description\":\"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pgtutorial.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL String Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/\",\"name\":\"PostgreSQL Tutorial\",\"description\":\"Learn PostgreSQL from Scratch\",\"alternateName\":\"PostgreSQL\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pgtutorial.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PostgreSQL String Functions","description":"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL String Functions","og_description":"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.","og_url":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/","og_site_name":"PostgreSQL Tutorial","article_modified_time":"2025-03-19T15:08:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/","url":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/","name":"PostgreSQL String Functions","isPartOf":{"@id":"https:\/\/www.pgtutorial.com\/#website"},"datePublished":"2025-02-02T01:20:25+00:00","dateModified":"2025-03-19T15:08:47+00:00","description":"This page provides comprehensive PostgreSQL string functions that help you manipulate text data effectively.","breadcrumb":{"@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pgtutorial.com\/postgresql-string-functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pgtutorial.com\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL String Functions"}]},{"@type":"WebSite","@id":"https:\/\/www.pgtutorial.com\/#website","url":"https:\/\/www.pgtutorial.com\/","name":"PostgreSQL Tutorial","description":"Learn PostgreSQL from Scratch","alternateName":"PostgreSQL","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pgtutorial.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/1800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/comments?post=1800"}],"version-history":[{"count":20,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/1800\/revisions"}],"predecessor-version":[{"id":2489,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/1800\/revisions\/2489"}],"wp:attachment":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/media?parent=1800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}