Database.getNextGroupName


getNextGroupName()

Returns a name suitable to be to a new group, i.e. a name guarenteed not to already be in use. The name will be created by starting with "New group", and then appending "(1)" "(2)" etc until one is found that is not already in use Warning: This function should not be called in a loop, as the implementation must search all existing names - thus the loop would become n-squared and very slow.

Argumentsnone 
Return valuestring

Back to Database

Back to Overview