LineNumbering ( text ; start ; suffix )
Returns the given text with numbered lines
Average rating: 4.5 (28 votes) Log in to vote
Daniele Raybaudi - Show more from this author
ACI http://www.aci.it |
2. bbbbb bb
3. ccc cccccccccccc
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
LineNumbering custom function
Author: Daniele Raybaudi
Format: LineNumbering ( text ; start ; suffix )
Parameters:
text - the text that we want to view with numbered lines
start - the number that we want to start from ( tipically 1 )
suffix - the string that we want to add to each line number ( minimum 2 chars ! )
Returns the given text with numbered lines
You can:
1. add one ore more new lines
2. break one or more lines
3. modify one or more lines
4. delete one or more lines
5. the max number of lines is 999
Example with Text =
aaaa aaa
bbbbb bb
ccc cccccccccccc
LineNumbering ( Text ; 1 ; ". ") returns:
1. aaaa aaa
2. bbbbb bb
3. ccc cccccccccccc
03/16/2007
Comments
Bernhard Sailer Jun 7, 2015 |
||
Fine script. Are you shure you need the substitution-functions? | ||
Philip McGeehan, SMD Ltd Nov 6, 2019 |
||
Works really well, thanks :) | ||
Joshua Paul, Neo Code Nov 15, 2023 |
||
very useful with layout calculations - <<ƒ:valuecount(DatabaseNames)>> : <<ƒ:substitute(linenumbering(DatabaseNames;1;". ");"¶";" ")>> | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.