SUBSTR functions
Definition:
The Oracle SUBSTR (SUBSTRING) function lets you extract a portion of a string (a 'substring') from a string of characters.
The SUBSTR functions (SUBSTR, SUBSTRB, SUBSTRC, SUBSTR2, and SUBSTR4) return a portion of string, beginning at a specified position in the string. The functions vary in how they calculate the length of the substring to return.
-
SUBSTR calculates lengths using characters as defined by the input character set.
-
SUBSTRB calculates lengths using bytes.
-
SUBSTRC calculates lengths using Unicode complete characters.
-
SUBSTR2 calculates lengths using UCS2 code points.
-
SUBSTR4 calculates lengths using UCS4 code points.
Return Value
The return value is the same data type as string.
{SUBSTR | SUBSTRB | SUBSTRC | SUBSTR2 | SUBSTR4}(char, position [, substring_length ])
- string
-
A text expression that is the base string from which the substring is created.
Oracle SUOrVersion 11.1
UBSTR (overload 2)
|
|
Substring Beginning Of String
|
|
Substring Middle Of String
|
|
Substring End of String |
|
Thank you
Asraful
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন