"2024-10-01 Blablablabla 2024-10-02 Blabla bla bla 2024-10-03 TestBlabla bla bla"
UpdateContext({theStringLength: Len(Label1.Text)});
ClearCollect(
myIndexedTable,
With(
{
data: ShowColumns( MatchAll(Label1.Text, "\d\d\d\d\-\d\d\-\d\d"),StartMatch)
},
AddColumns(
RenameColumns(
Sequence(CountRows(data)),
Value,
Index
),
StartString,
Index(
data,
Index
).StartMatch
)
)
);
ClearCollect(mySearchTable, myIndexedTable);
ClearCollect(
myStringStartAndSize,
AddColumns(
myIndexedTable,
strLength,
With({
getStringPosition:LookUp(mySearchTable, Index = myIndexedTable[@Index] + 1, StartString)
},
If ( !IsBlank( getStringPosition) , getStringPosition - myIndexedTable[@StartString], theStringLength - myIndexedTable[@StartString] + 1 )
)
)
);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.