View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004415 | MMW v4 | Properties/Auto-Tools | public | 2008-02-23 16:53 | 2008-03-15 13:50 |
Reporter | jiri | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0004415: Add some more mask functions | ||||
Description | On several occasions users have asked for some more mask functions in order to achieve various effects. It shouldn't be hard to implement some. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1141 | ||||
|
Fixed in build 1141. - There was quite a number of improvements made: - $RemovePrefix(string) - Removes starting 'The', i.e. 'The Beatles' -> 'Beatles' - $MovePrefix(string) - Moves starting 'The' to the end of string, i.e. 'The Beatles' -> 'Beatles, The' - $Group(string,integer) - Groups the first letter of the first parameter to groups of letters given by the second (optional) paremeter. Works just like <Artist@1>. - $Replace(string,what,by) - Replaces all occurences of 'what' by 'by' in 'string'. - $If(<Year><1990,...) - $If() function now accepts also <,<=,>,>= and <> operators. E.g. $If(<Year><1990,80's,$If(<Year><2000,90's,2000's)) returns 80's for year 1984. - $Assign(variable,value) and $Use(variable) - Variables that can be used several times in mask, e.g. '$Assign(V,A)$Use(V)$Use(V)' produces string 'AA'. - $First(string,count,start from) - There was added parameter 'start from' (optional), which specifies to skip a number of items in multi-value string. E.g. $First(a;b;c,1,1) returns 'b'. - $Len(string) - returning the length of string, useful for $If() function. |
|
Verified 1142 |