Function increment_string - echiong/testRepo GitHub Wiki
Add's _1 to a string or increment the ending number to allow _2, _3, etc
Located at system/helpers/string_helper.php
Type: string
Description:
string $str required
$str
required
2. ` string $separator What should the duplicate number be appended with ` ` $separator = '_' `What should the duplicate number be appended with
3. ` string $first Which number should be used for the first dupe increment ` ` $first = 1 `Which number should be used for the first dupe increment