User-defined field max length



When user-defined fields are created, is there a max length to the number of digits that it could have? We understand that the UDF format will always be the word "field" followed by some digits, but is there a max number of digits that could exist? We are planning to implement it as "field" + 9 digits max. Any concerns with this approach?
Thank you for your help!