11.字符串函数

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

11-8-292:5114:DATESTR(Date)::DATESTR(Date);EXTRASTRING(S)::EXTRASTRING(S),SF10FIND(S,N):F10:F10FIND(S,N),F10NS-1F10FIND('',1),F101''F10TEXT(N,M):F10:F10TEXT(N,M),F10NMM=0,M0F10TEXT(30,10),F103010INBLOCK(S)::INBLOCK(S),S10INBLOCK(''),1LOWERSTR(STR):|||11.11-8-292:5124:LOWERSTR(STR),STRLOWERSTR('EFgh')'efgh'MARKETLABEL::MARKETLABEL,'SH','SZ'MARKETNAME::MARKETNAME,''''NUMTOSTR(N)::NUMTOSTR(N),N,0NUMTOSTR(close)'15.78'NUMTOSTRN(N,M)::NUMTOSTRN(N,M),NMNUMTOSTRN(close,5)'15.78000'SELFSTRING(S)::SELFSTRING(S),SSTKLABEL::STKLABEL,,A'000001'STKNAME::STKNAME,STR(N)::STR(N),N,0STR(close)'15.78'11-8-292:5134(STR1,STR2)::STRCMP(STR1,STR2),STR1STR21STR1STRCMP('abcdef','abc')1STRFIND(STR,S1,N)::STRFIND(STR,S1,N),STRNS1,0STRFIND('abcdefgh','cde',1)3STRLEFT(STR,N)::STRLEFT(STR,N),STRNSTRLEFT('abcdef',3)'abc'STRMID(STR,N,M)::STRMID(STR,N,M),STRNMSTRMID('abcdef',3,3)'cde'STRRIGHT(STR,N)::STRRIGHT(STR,N),STRNSTRRIGHT('abcdef',3)'def'STRTONUM(STR):STRTONUM(STR),STRSTRTONUM('12.5')12.5TYPESTR:()'''A''B''''''''''''''''ETF''LOF'''''''''UPPERSTR(STR)11-8-292:5144:STRUPPERSTR('abcd')'ABCD'WARNING(STR,C):WARNING(STR,C),CSTRSTR(')

1 / 4
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功