Brian Dunning's FileMaker Custom Functions

RandomStringWithCharacterSet ( stringLength ; characterSet )

Returns a random string using a specified character set.

  Average rating: 4.1 (35 votes) Log in to vote

Jeremy Bante   Jeremy Bante

https://github.com/jbante/

Share on Facebook Share on Twitter

  Sample input:
List (
RandomStringWithCharacterSet ( 10 ; "abcXYZ123" );
RandomStringWithCharacterSet ( 10 ; "1234567890abcdefghijklmnopqrstuvwxyz-");
RandomStringWithCharacterSet ( 10 ; "aeiouyfb~!@#$%^&*()_+" )
)
  Sample output:
3YbaZZZYca
2kn-w8zff-
b@^eafy!y@

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

Returns a random string using a specified character set.

 

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: