Import txt file
Hey guys,
I am trying to create an api to import txt to xano and I am facing a issue because xano is removing the extra blank spaces and I need all the spaces to be able to convert this information after.
How can I do it ? because each customer of mine have different formats and they cannot changed it.
Ex of line in txt:
69926 7891203068019 BRIOCHE PANCO TRANCADO 250G TRAD 00000000084920230309 000010004_MERCEARIA SECA DOCE
69927 7896200115025 FEIJAO RAJADO BROTO LEGAL 500G 00000000073920230309 000000002_COMMODITIES
Where i need to split after not by the space but by the collumns ! Ex: 00000000073920230309 here will be splited in 3 diferent informations.
This files have more the 60K lines.
Best Answer
-
Hi @rbitente,
Welcome to the Xano Community! 🥳
The extra spaces will not be shown on the table or the debugger on Xano. This doesn't mean that they have been removed. I recommend testing using a tool like Postman, which will show extra blank spaces, to see how the data is being saved.
Let me know if this answers your question or if you have any additional questions. 😊
Answers
-
Perfect !
I tested and everything is working good out of debugger.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback