Brian Dunning's FileMaker Custom Functions

TransposeArray ( array ; columnDelimiter )

Transposes a tabular text array. Requires the GetColumn () custom function.

  Average rating: 4.2 (45 votes) Log in to vote

Michael Horak   Michael Horak - Show more from this author
*COMMENT Visual Realisation

Share on Facebook Share on Twitter

  Sample input:
TransposeArray (
"1|2|3¶a|b|c¶x|y|z" ;
"|"
)
  Sample output:
1|a|x
2|b|y
3|c|z

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Transposes a tabular text array by turning the first column of the array into the first row of the new array, the second column of the array into the second row of the new array, and so on.

Requires the GetColumn () custom function:
http://www.briandunning.com/cf/877

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: