In an Oracle database, trim is generally used to delete spaces on both sides of a string. In fact, trim can also be used to delete specified characters on both sides of a string. And trim specifies that the deleted string can only be a single
The Oracle trim function is a very common function, and the syntax of the Oracle trim function is described in detail below, hoping to give you a deeper understanding of the Oracle trim function.
If you mention the Oracle Trim function, the
1. Take a look at the complete syntax description of the Oracle Trim functionTRIM ([{{leading | TRAILING | BOTH}[Trim_character]| Trim_character}From]Trim_source)The above syntax is quoted from Oracle 10GR2 official documentation:
LTRIM, RTrim, and trim usage in Oracle:1, LTRIM (C1,C2)where C1 and C2 can be strings, for example C1 is ' Miss Liu ', C2 ' MISL ' and so on. This is the first place that is not the same as SQL Server. If you remember good, SQL Server's LTrim has
Trim,ltrim,rtrim function usage in OracleTrim,ltrim,rtrim function usage in OracleThere are two kinds of functions in this function:the first, that is, everyone is more familiar with the removal of space. Example:--trim to remove spaces before and
There are two kinds of functions in this function:the first, that is, everyone is more familiar with the removal of space. Example:--trim to remove spaces before and after a specified charactersql> SELECT TRIM (' DD DF ') from dual;TRIM (' Dddf ')---
Oracle trim, ltrim, rtrim function usageThis function has two functions:First, remove spaces that everyone is familiar.Example:-- Trim removes leading and trailing spaces of a specified characterSQL> select trim ('dd df') from dual;Trim ('dddf ')----
The article tells you how to delete the trim function, which is in SQL. It doesn't feel convenient in php. If you need it, please refer to the operation process.
The article tells you how to delete the trim function, which is in SQL. It doesn't feel
The string class in Java has a trim () to remove space characters before and after a string. jquery also has the trim () method to remove strings before and after a character variable.However, there is no corresponding trim () method in JavaScript.
The string class in Java has a trim () to remove the space characters before and after the string, and the trim () method in jquery can delete the string before and after the character variable. But there is no corresponding trim () method in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.