02-17-2012, 11:28 AM
I was looking at help files but couldnt find code that would do the action i need. Here is the problem:
I have this text in the cliboard "10,977.21 RSD [ <color=0xff00ff00>-39.72% below Regional average ]"
and i need to extract just the price in front so it is just 10977.21. now i tried various methods with
find/replace but the second part keep changing and i cant just copy it and use it every time.
Is there a way to first remove everything on the right of RSD? That would leave me with just RSD and "," to replace every time.
-maby to first try to find the "RSD" position and than use .. Just
brainstorming here dow i dont have a clue how to find RSD position eather :oops:
-Trying to find RSD position with
But i keep getting an error: Error in Macro21: this name already exists. Give different name. (and highlight's findw)
-But even if i find the position how to i inplement it in because it's asking for a number to be put in, but i need to use variable because the position will change..
I have this text in the cliboard "10,977.21 RSD [ <color=0xff00ff00>-39.72% below Regional average ]"
and i need to extract just the price in front so it is just 10977.21. now i tried various methods with
find/replace but the second part keep changing and i cant just copy it and use it every time.
Is there a way to first remove everything on the right of RSD? That would leave me with just RSD and "," to replace every time.
-maby to first try to find the "RSD" position and than use .. Just
brainstorming here dow i dont have a clue how to find RSD position eather :oops:
-Trying to find RSD position with
But i keep getting an error: Error in Macro21: this name already exists. Give different name. (and highlight's findw)
-But even if i find the position how to i inplement it in because it's asking for a number to be put in, but i need to use variable because the position will change..