<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Extract Table from String</title><link>https://community.appian.com/discussions/f/general/29185/extract-table-from-string</link><description>Hi , 
 Is there any possible way to extract table structure from single line string , like I am using the getpdftext to get the text in single like string , but it has table structure inside it, is there any way to extract the table from it? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Extract Table from String</title><link>https://community.appian.com/thread/115461?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 13:38:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8a8f7dc-586f-4f38-b0ec-fc42821c829e</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Do you have control over the format of the string?&amp;nbsp; If so, you could add delimiters to the string and be able to parse it with simple expression.&amp;nbsp; You&amp;#39;d want to add delimiters like semicolon (;) or pipe (|) etc., something that&amp;#39;s not going to appear in the text of inside a cell and confuse the thing.&amp;nbsp; Or if it already has those kind of delimiters, you&amp;#39;re already golden.&lt;/p&gt;
&lt;p&gt;After that, you can use the split() function to split out the string into a list of string.&amp;nbsp; Provided that you keep the format consistently, each one of your arrays of strings should have the same length.&amp;nbsp; You can then index the first item, the second item, and so on, plugging each into a CDT.&amp;nbsp; Then you can do whatever you want to it as CDT and save the CDT to the database.&lt;/p&gt;
&lt;p&gt;Or you could use Record Type constructor to convert list of string into Record Type, then do whatever you want to the Record, then save it to the DB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extract Table from String</title><link>https://community.appian.com/thread/115414?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 09:38:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:297cfa5d-5097-4db3-b2b6-bf2c22ba3b2d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... is there a reason to not use the text extraction capabilities in Appian using the new AI skills. This also supports tables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extract Table from String</title><link>https://community.appian.com/thread/115411?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 09:35:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27700a7c-cbec-4433-9ae0-70de693490aa</guid><dc:creator>bihitakdass</dc:creator><description>&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="TabButtonGroup---tab_group TabButtonGroup---inHeaderBodyLayout"&gt;
&lt;div class="TabButtonGroup---tab_contents_container TabButtonGroup---flush"&gt;
&lt;div class="ContentLayout---content_layout ContentLayout---padding_less"&gt;
&lt;div class="SectionLayout2---sectionLayout SectionLayout2---margin_above_none"&gt;
&lt;div class="CollapsibleElement---collapsible"&gt;
&lt;div class="SectionLayout2---section_contents SectionLayout2---margin_below_standard"&gt;
&lt;div class="ColumnArrayLayout---column_layout ColumnArrayLayout---standard_spacing appian-context-last-in-list"&gt;
&lt;div class="ColumnLayout---column ColumnLayout---column_padding_standard ColumnLayout---align_start ColumnLayout---top ColumnLayout---width_auto ColumnLayout---stack_when_phone appian-context-last-in-list"&gt;
&lt;div class="ContentLayout---content_layout ContentLayout---flush"&gt;
&lt;div class="SelectableTree---selectableTree SelectableTree---allow_text_highlighting"&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;Invoice Payment is due within 30 days from date of invoice. Late payment is subject to fees of 5% per month. Thanks for choosing DEMO - Sliced Invoices | admin@slicedinvoices.com Page 1/1 From: DEMO - Sliced Invoices Suite 5A-1204 123 Somewhere Street Your City AZ 12345 admin@slicedinvoices.com Invoice Number INV-3337 Order Number 12345 Invoice Date January 25, 2016 Due Date January 31, 2016 Total Due $93.50 To: Test Business 123 Somewhere St Melbourne, VIC 3000 test@test.com Hrs/Qty Service Rate/Price Adjust Sub Total 1.00 Web Design This is a sample description... $85.00 0.00% $85.00 Sub Total $85.00 Tax $8.50 Total $93.50 ANZ Bank ACC # 1234 1234 BSB # 4321 432 Paid&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="SplitPaneLayout---separator SplitPaneLayout---horizontal SplitPaneLayout---resizable"&gt;
&lt;div class="SplitPaneLayout---default_direction SplitPaneLayout---collapse_control_parent SplitPaneLayout---parent_horizontal SplitPaneLayout---collapse_control_parent_right"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1688376869347v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extract Table from String</title><link>https://community.appian.com/thread/115408?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 09:19:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38c64234-5f42-4c5c-9e9f-f89b874a8629</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In general, yes. For more details, we would need to see that text string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>