SUBSTRING is a string manipulation function that manipulates all data types (BIT, BLOB, and CHARACTER), and extracts characters from a string to create another string.
SUBSTRING returns a new string of the same type as source_string, containing one contiguous run of characters extracted from source_string as specified by start_position and string_length.
The start position can be negative. The start position and length define a range. The result is the overlap between this range and the input string.
If any parameter is NULL, the result is NULL. This is not a zero length string.
SUBSTRING('Hello World!' FROM 7 FOR 4)returns 'Worl'.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ak05260_ |