I mostly work with AHK to manipulate text.
It's the easyness to get what you want. 

Examples:
MyVar = 5,3,7,9,1,13,999,-4
Sort MyVar, N D,  ; Sort numerically, use comma as delimiter.
MsgBox %MyVar%   ; The result is -4,1,3,5,7,9,13,999


; Remove all CR+LF's from the clipboard contents:
StringReplace, clipboard, clipboard, `r`n, , All

; Replace all spaces with pluses:
StringReplace, NewStr, OldStr, %A_SPACE%, +, All

Colors = red,green,blue
StringSplit, ColorArray, Colors, `,
Loop, %ColorArray0%
{
    this_color := ColorArray%a_index%
    MsgBox, Color number %a_index% is %this_color%.
}

String = This is a test. 
StringLeft, OutputVar, String, 4  ; Stores the string "This" in OutputVar.
StringRight, OutputVar, String, 5  ; Stores the string "test." in OutputVar.

Functions like 
InStr(Haystack, Needle [, CaseSensitive = false, StartingPos = 1, Occurrence =
1])

SubStr(String, StartingPos [, Length])

RegExMatch(Haystack, NeedleRegEx [, UnquotedOutputVar = "", StartingPos = 1])
AHK is very well documented and has a friendyl community. 
http://ahkscript.org/docs/AutoHotkey.htm


Of course you can do this things in vb or js or other scriptlanguages.
So i can understand if this would not get it on your to do list.
But i hope
:-)

-- 
<http://forum.pspad.com/read.php?2,66130,66134>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem