I've got a text field in a BO report that has 10 ':' characters in it. Between each ':' is a text string that i need to retrieve.
I've been using a combination of SubStr() & Pos() & Length() functions to achieve this but the processing time has started to become rididculous.
Which got me thinking, Is there a similar function to the Text to Columns function that is available in Excel?
The nearest I could think of was doing a replace of all the ':' characters with something that would force a new column. Here's the first stab at a function to achieve this
Code:
=Replace(<Narr(Query 1 with Accounts)> , Char(13)&Char(10) ,"")&Replace(<Narr(Query 1 with Accounts)> ,":" ,Char(31))
This function also replaces line feeds and carriage returns, which works.
However, I've chosen a record seperator character (Char(31) from the ASCii characters, which doesn't actually create a new column.
Any suggestions how I could make this work as I'm sure there's a much more efficient way for me to sperate this character string field