# 金融 / 基金 / 基本情况 / 中间函数 ## `containwords_closedoperation()` 声明:function 返回ClosedOperation包含字串:"封闭运作" 返回:string ## `containwords_miniholdperiod()` 声明:function 返回MiniHoldPeriod包含字串:"持有期" 返回:string ## `containwords_otherrestrictedopening()` 声明:function 返回OtherRestrictedOpening包含字串:"一年目标触发|封闭式" 返回:string ## `containwords_regulapurchasescrollhold()` 声明:function 返回RegulaPurchaseScrollHold包含字串:"购.\*滚动持有" 返回:string ## `containwords_regularopenfund()` 声明:function 返回RegularOpenFund匹配字串:"定期|(一|两)年期纯债" 返回:string ## `containwords_regularredeem()` 声明:function 返回RegularRedeem包含字串:"定期.\*赎回" 返回:string ## `containwords_scrollhold()` 声明:function 返回ScrollHold包含字串:"滚动持有|理财" 返回:string ## `fundgetthemename(fundname, matchstring)` 声明:function 返回基金主题 | 参数 | 类型 | 说明 | | ------------- | ------ | --------------- | | `fundname` | string | string,基金名称 | | `matchstring` | table | table,匹配串 | 返回:string ## `fundindustrygetmatchstr(industrytype, extype)` 声明:function 返回基金行业匹配串 | 参数 | 类型 | 说明 | | -------------- | --------- | ----------------------------------------- | | `industrytype` | usrdefine | usrdefine,行业级别 | | `extype` | usrdefine | usrdefine,延伸判断,不延伸判断=0延伸判断=1 | 返回:string ## `fundindustrymatchstring()` 声明:function 返回基金行业匹配串 返回:string ## `fundindustryname(industrytype, extype)` 声明:function 返回基金行业 | 参数 | 类型 | 说明 | | -------------- | --------- | ----------------------------------------- | | `industrytype` | usrdefine | usrdefine,行业级别 | | `extype` | usrdefine | usrdefine,延伸判断,不延伸判断=0延伸判断=1 | 返回:string ## `fundthemegetmatchstr()` 声明:function 返回基金主题匹配串 返回:array ## `fundthemematchstring()` 声明:function 返回基金主题匹配串 返回:array ## `iscontainswords(regexpr, parsetext)` 声明:function 返回包含字串 | 参数 | 类型 | 说明 | | ----------- | ------ | ------------- | | `regexpr` | string | string,匹配串 | | `parsetext` | string | string,源串 | 返回:boolean ## `isnotcontainswords(regexpr, parsetext)` 声明:function 返回不包含字串 | 参数 | 类型 | 说明 | | ----------- | ------ | ------------- | | `regexpr` | string | string,匹配串 | | `parsetext` | string | string,源串 | 返回:boolean ## `isthepurchaseredemptiontype(fundname, containstr, notcontainstr)` 声明:function 判断是否指定申购赎回类型,通过基金全称判断。与系统参数(基金代码、日期)相关 | 参数 | 类型 | 说明 | | --------------- | ------ | --------------------- | | `fundname` | string | string,基金名称 | | `containstr` | string | string,包含字符串 | | `notcontainstr` | string | string,不包含的字符串 | 返回:boolean ## `notcontainwords_regularopenfund()` 声明:function 返回RegularOpenFund不包含字串:"定期.\*赎回|定期支付" 返回:string ## `notcontainwords_scrollhold()` 声明:function 返回ScrollHold不包含字串:"购|货币" 返回:string