Hello,
The below code has been tested by using xBuilder based on xHarbour build
9368.
The HB_RgExReplace function call returns the original input cWhere string
content.
function main()
local cWhat := "[a-zA-Z]"
local cWhere := "a1b2c3"
local cNew := "-"
local cResult
cResult := HB_RegExReplace( cWhat, cWhere, cNew )
? cResult
wait "stop"
return NIL
Ella
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers