|
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
Term: SUBSTR
Definition: SUBSTR(source_string, starting_position, [ length ]); The source_string is the string that the substring will be taken from. The starting_position is the position in the source_string where you want to start extracting characters. The first position in the source_string is always '1', NOT '0', as in many other languages.
The length parameter is optional, and specifies the number of characters to extract. If the length parameter is not used then SUBSTR will return everything from the starting_position to the end of the string.
Example Usage: SUBSTR('Dinner starts in one hour.', 8, 6) - will return 'starts' Related Links: Related Code Snippets:
|
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2024 psoug.org |