View Single Post
05-02-14, 07:47 AM   #1
Tactica
Not Amused
 
Tactica's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 96
SublimeText2 Remove Duplicate

This is a cross post! - Not sure if it belongs in the GAD section...

Just wondering if any other SublimeText 2 users know how to resolve this issue without having to manually delete the repeated/duplicate value:

I have an ungodly amount of lines that need one of the duplicate (1025 and 1151 in this example) values removed.
Code:
s(-1025,1025,{32047, 32048, 32049, 32050, 32051, 32807, 32795},128)
s(1151,1151,{8197, 8176, 8193, 8192, 8175, 31563, 9428, 94044},nil)
I searched around on Stack Overflow and a few other sites and got some major help in regards to other things, but couldn't find anything specific about removing duplicate values in a line/string without screwing up the other values. Any suggestions or plugins?

Cheers!
  Reply With Quote