About 41,800 results
Open links in new tab
  1. SUBSTR - IBM

    If length is explicitly specified, string is effectively padded on the right with the necessary number of blank characters (single-byte for character strings; double-byte for graphic strings) or …

  2. Db2 SUBSTRING - Extract a Substring from a String By Examples

    In this tutorial, you will learn how to use the Db2 SUBSTRING () function to extract a substring from a string, with a specified length.

  3. How to split a string value based on a delimiter in DB2

    Sep 23, 2013 · With only two parts, you need to find the position of the delimiter, and then substring before and after it by using the position before and after it in a substring function.

  4. DB2 Substring Extraction with Delimiters - tech-champion.com

    Learn DB2 substring extraction using regular expressions to parse delimited data effectively. Extract day, month, and year from dates easily.

  5. DB2 SUBSTR (Substring) Function - @daharveyjr

    Sep 1, 2014 · The DB2 SUBSTR function takes two arguments (source and start location) with an optional third argument (length) and returns a substring of a string.

  6. SUBSTRING - IBM

    When the SUBSTRING function is invoked using OCTETS, and the source-string is encoded in a code page that requires more than one byte per code point (mixed or MBCS), the …

  7. Db2 String Functions

    This section introduces you to the Db2 string functions that help you manipulate character string data effectively.

  8. Extracting a Variable Part of a String - How? - Dev solutions

    Apr 2, 2025 · Extracting a Variable Part of a String – How? Learn how to extract a variable number of characters from a string using Db2 functions like substring () and regexp_substr ().

  9. DB2 - How to retrieve the last substring starting from the end

    Jul 2, 2021 · Always mention your Db2-server platform (z/os, i series, linux/unix/windows) and Db2-server version when asking for help. Because the answer can depend on these facts, and …

  10. Db2 12 - Db2 SQL - SUBSTR scalar function - IBM

    The SUBSTR function accepts mixed data strings. However, because SUBSTR operates on a strict byte-count basis, the result will not necessarily be a properly formed mixed data string.