Lars Marius Garshol
Lars Marius Garshol
Pull request #156 implements this
In terms of the WordML markup, all three tables (1 in simple, 2 in the nested case) have the following: ``` ``` However, the innermost table in the nested example...
The problem somehow has to be that nested tables end up with two sets of table properties, even though according to the API that shouldn't really be possible. There is...
[Pull request 158](https://github.com/drmacro/wordinator/pull/158) solves this. We have tested it internally and not found any issues, so it should be safe to merge.
Substrings are already supported through [string slicing](https://github.com/schibsted/jslt/blob/master/tutorial.md#string-processing).
I'm afraid this is just the nasty nature of floats. Here's what happens if you do the same thing in Python: ``` Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 19 2020, 20:48:48) [GCC...
> do we have a decimal type to avoid the precision issue ? What precision are you looking for?
Slicing works for both arrays and strings. Size likewise. `contains()` searches for something in strings and arrays. It sounds like what you're asking for?
Hmmm. Looks like you're right that that's missing. If so, it's pretty incredible that we didn't add that before. Yeah, we may have to add that, perhaps by extending `index-of()`...
You may want to look at the `split()` function.