Hi @ericwuu,
Thank you for your message and apologies for the delayed response over the weekend! 
Good catch! You’re right—you need to use :first item before :split by (\n) to properly break the text into separate lines.
If your expression is still returning the whole text instead of splitting it, here are a few things to check:
Ensure the text contains actual line breaks – Sometimes, OCR output might use spaces instead of \n for new lines. Try copying the extracted text into a text editor to check if line breaks exist.
Confirm the \n separator works – If \n isn’t splitting the text, try using :split by ( ) (a space) or :split by (,) if the text uses commas instead.
Debugging step – Before selecting a specific line, test the split list using a Repeating Group or a Text element (set to display the full list) to confirm that the split actually worked.
Final format – The correct approach should be:
- To get the 3rd line:
Popup OCR's OCR-text:first item:split by (\n):item #3
- To get the last line:
Popup OCR's OCR-text:first item:split by (\n):last item
Since this involves Bubble logic and implementation, please note that we provide general support related to plugin functionality and bug fixes. If you need more in-depth guidance, feel free to check the Zeroqode Forum or the Bubble Forum, where other users and experts might share additional insights.
Hope this helps! Let me know if you need anything else. 
Best,
Support Team
Browse all Zeroqode Plugins for Bubble
