Format Switches

We use Format Switches to change default behavior of Formats. We use switches in curly brackets next to a format. In Nav.Net 4.x the most used format switch is -i switch. It changes the fuskering interval of a format. Here are the list of all switches used on Nav.Net NG. Only -i switch works with 4.x versions. Others are new NG features. You can test these switches with File Format Tester tool to see behavior easier. If you didn't read before read Format Groups article to understand how to use $x variables.

 SwitchExample Description
 -i:x
DSCN[0001-9999].jpg {-i:2}-i:2 means FG will search file names two by two. It will search DSCN0001.jpg, DSCN0003.jpg, DSCN0005.jpg,... etc. 
 -f:x  DSCN[0001-9999].jpg {-f:DSCN$1-DSCN$1.jpg}-f switch is useful to repeat values inside format. Example produces DSCN0400-DSCN0400.jpg result for 400th search. 0400 part repeated in filename. Some image sharing sites uses that kind of file names. Another example is [a-z].jpg {-f:$1$1$1.jpg}. This format will produce results as aaa.jpg, bbb.jpg, ccc.jpg,...etc. You can use that format multiple times and $1 values to search for filenames like aaaa.jpg, hhhhhh.jpg, etc.
 -u:x [mary,jane,bob,rob].jpg {-u:$1}FG will convert $1 value to Upper Case. This will produce results as MARY.jpg, JANE.jpg, ...etc. If you use wordlist formats you can convert all keywords to Upper case with a single switch
 -l:x [Mary,jaNe,BOB].jpg {-l:$1} Same usage as -u but this time it will force FG to use lowercase letters.
 -p:x[Mary,jaNe,BOB].jpg {-p:$1}  Same as -u but this time FG will produce proper case keywords like Mary.jpg, Jane.jpg, Bob.jpg,... etc.