oracle中substr函数的用法有哪些?
oracle中substr函数的用法有哪些?
In oracle/PLSQL, the substr functions allows you to extract a substring from a string。 The syntax for the substr function is: substr( string, start_position, [ length ] ) 说明: string is the source string。
start_position is the position for extraction。 The first position in the string is always 1。 length is optional。 It is the number of characters to extract。
If this parameter is omitted, substr will return the entire string。
For example: substr('This is a test', 6, 2) would return 'is' substr('This is a test', 6) would return 'is a test' substr('TechOnTheNet', 1, 4) would return 'Tech' substr('TechOnTheNet', -3, 3) would return 'Net' substr('TechOnTheNet', -6, 3) would return 'The' substr('TechOnTheNet', -8, 2) would return 'On'。
答:函数格式: string substr ( string string, int start [, int length]) 参数1:处理字符串 参数2:截取的...详情>>
问:同事ip:10.101.107.28 我的IP:10.101.104.23我们在...
答:你们公司是WINDOWS域环境吗,如果是的话,你在网上邻居里应该能看到对方的主机。让她把文件夹共享出来就可以。 如果不是WINDOWS域,那得看你们是不是在一个...详情>>
问:数据结构顺序表的建立,可定义顺序表 #define maxnum elemtyp...
答:打开VC ,然后点击新建,出来界面之后选择Win32 Console Application并输入工程的名称和选择项目的位置,然后出现“一个空工程”,在点击“...详情>>