- 博客(0)
- 资源 (6)
- 收藏
- 关注
powerbuilder正则表达式,取字符串
powerbuilder正则表达式,可以截取不定字符串。如
string ls_text
ls_text = ' date of payment: 01.11.2004 '
……
ls_date = lnvo_re.of_getmatch(ls_text) //'01.11.2004'
ls_day = lnvo_re.of_getmatch(ls_text, 1) //'01'
ls_month = lnvo_re.of_getmatch(ls_text, 2) //'11'
ls_year = lnvo_re.of_getmatch(ls_text, 3) //'2004'
2012-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人