View Issue Details

IDProjectCategoryView StatusLast Update
0004415MMW v4Properties/Auto-Toolspublic2008-03-15 13:50
Reporterjiri Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0004415: Add some more mask functions
DescriptionOn several occasions users have asked for some more mask functions in order to achieve various effects. It shouldn't be hard to implement some.
TagsNo tags attached.
Fixed in build1141

Relationships

related to 0005096 closedrusty Not all masks are documented in the Help file 

Activities

jiri

2008-02-23 22:39

administrator   ~0013200

Last edited: 2008-02-29 09:46

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.

peke

2008-03-15 13:50

developer   ~0013332

Verified 1142