f_rsx2.srf 424 B

1234567891011121314151617181920
  1. $PBExportHeader$f_rsx2.srf
  2. $PBExportComments$读一个属性--函数
  3. global type f_rsx2 from function_object
  4. end type
  5. forward prototypes
  6. global function string f_rsx2 (string s1, string sb, string se)
  7. end prototypes
  8. global function string f_rsx2 (string s1, string sb, string se);string ls
  9. int li,lj
  10. li=pos(s1,sb)
  11. if li>0 then
  12. lj=pos(s1,se,li+1)
  13. ls=mid(s1,li+len(sb),lj -(li+len(sb)))
  14. end if
  15. return ls
  16. end function