I try to code a thread that use the trim() function at all strings in the clipboard. If I paste the string is not trimmed.
public static void addStringToClipB