### Split a list:
lib.blog.split_process_list = HTML
lib.blog.split_process_list {
### List of language uids:
value = 28,29,30
value {
wrap =
split {
### Split list by commas:
token = ,
### First cObject:
cObjNum = 1
1 {
### Use COA so that other cObjects can be inserted around this one.
cObject = COA
cObject {
5 = HTML
5 {
### .insertData works a little like .prioriCalc. You can use TS to construct a string using the conventional .dataWrap syntax and then, once it's done, process it:
value {
### Start with a cObject--use .dataWrap syntax:
cObject = HTML
cObject {
value {
current = 1
wrap = {DB:static_languages:|:lg_name_local}
}
}
### Then, process it:
insertData = 1
}
}
### Add a newline to the end of each list item to make the code slightly prettier:
10 = HTML
10 {
value.char = 10
}
}
}
}
}
}