moving a symbol

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Mikeyboyeee
Posts: 3
Joined: Tue Jun 19, 2007 11:48 pm

moving a symbol

Postby Mikeyboyeee » Tue Jun 19, 2007 11:52 pm

I'm working with some figures that come in with the negative indicator after the digits and I need to move it to the start of the digits

Here's what I'm starting with:

123.45-
1.14-
0.25-

Here's what I want to end up with:

-123.45
-1.14
-0.25

I haven't had any luck so far - I figure it's got to be a simple fix... any ideas??

Thanks

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Wed Jun 20, 2007 8:32 am

Use the EasyPattern

[ capture(1+ digits or '.'), '-' ]

Replace with

-$1
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Mikeyboyeee
Posts: 3
Joined: Tue Jun 19, 2007 11:48 pm

THANKS!!!

Postby Mikeyboyeee » Wed Jun 20, 2007 10:39 pm

Thank you -- brilliant! works like a charm


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 2 guests