I need to calculate for a field based on the position of a substring in another question. It should be similar to the SEARCH("search string", "String Value", start position) in Excel or Find function.
I need to do a "auto-fill" for a field using a substring in a provirus question. I need to find the numbers of starting and ending position for the "substr" function.
Unfortunately, there is not a function to search of a string and return it's position in the XLSform specification. We are looking into ways to support additional functions beyond the XLSForm spec - this request is similar to (the ability to parse is the same need for variable length substr)