Javatpoint Logo
Javatpoint Logo

Oracle TRIM() Function

TRIM is a String function of Oracle. This function is used to remove the specified character from head of the string or tail of the string.

Syntax

Parameters

LEADING : it will trim from head of the string.

TRAILING: it will trim from tail of the string.

BOTH : it will trim from head as well as from tail of the string.

trim_character : character to be trimed from the string.

string1 : string to be trimed.

Return

It will return the string value.

Example 1


Oracle String TRIM() Function

Example 2


Oracle String TRIM() Function
Next TopicOracle String





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA