On Sep 2, 2004, at 4:18 PM, Pedja wrote:
For Christ sake...it's a single liner people!:)))))))))))))))
pVal = 1234.90899
splitList =
[value(string(pVal).char[1..(offset(".",string(pVal))) -1]),value(string(
pVal).char[(offset(".",string(pVal)))..string(pVal).char.count])]
put splitList
Nice. Hideous, but nice.
I had this -
pVal = 1234.90899 testArray = (PRegEx_Split([string(pVal)], "\.")
But note that it only gives a list of strings representing the numbers. -- Troy RPSystems, Ltd. http://www.rpsystems.net
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]