Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?
Zu

Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Sie könnten ziemlich weit kommen, wenn Sie einfach „Get Clipboard“ verwenden und „Open with Blob“ verwenden
Names Default To Here(1);
str = Get Clipboard();
Open(Char to Blob(str), "text");
Führen Sie dann eine Bereinigung in der JMP-Tabelle durch
Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Danke!
Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Sie können es in ein Skriptfenster einfügen, bereinigen und importieren. (Sie müssen die Tabulatoren nicht durch Kommas ersetzen und möchten dies möglicherweise auch nicht, wenn die Daten Kommas enthalten.)
Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Ist das mit JSL möglich? Ich verwende immer noch JMP14 und kann nicht aufnehmen.
t1=Regex(txt,"\!n\!n","\!n",globalreplace);
//??
Danke, Craige!
Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Sicher, speichern Sie es entweder in einer Datei mit der Erweiterung .CSV oder konvertieren Sie es in ein Blob und öffnen Sie es vom Blob (und teilen Sie ihm beim Öffnen mit, dass es sich um eine „Text“-Datei handelt).
Beachten Sie, dass das Regex-Muster \n für eine neue Zeile verwendet und die Regex-Ersetzung \!n von JMP verwendet.
change multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlinechange multiple consecutive newlines to a single newlineÄndern Sie mehrere aufeinanderfolgende Zeilenumbrüche in einen einzelnen Zeilenumbruch
Wie wandele ich den Inhalt der Paste-Tafel in eine Tabelle um?Die eingefügte Tafel enthält vorherigen Inhalt, leeren Inhalt und Tabulatoren am Anfang jeder Zeile und bildet eine Tabelle
Danke!
<BR /><BR />
1 2023-09-09 00:00 A C
2 2023-09-09 00:00 B D
Automatisierung und SkripterstellungFrage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?
Frage: Wie wandele ich den Inhalt der Einfügetafel in eine Tabelle um?Versuchen Sie in Zeile 3 zu ändern txt Zu t1
Der Originaltext enthält wahrscheinlich CRLF-Paare, aber der Effekt von Zeile 2 geht durch das Überschreiben von Zeile 3 verloren.
Sie können auch die Funktion Hex(t1) verwenden, um LF==x0A und CR==x0D anzuzeigen