I found this solution on the forum for splitting text. Where do I put the column where I have the text?
Posted: Wed Sep 10, 2025 9:41 pm
My column is called {Concept.description}, which is where I have the text I want to split into four parts.
I hope you can help me. I've attached images showing the code for this solution and the error when previewing it.
Translated by google.
Public Function ExtractValue({Concepto.descripcion} As String,aPlace As Integer) As String
Dim retStr As String = String.Empty
Dim tempStr() As String
tempStr = {Concepto.descripcion}.Split(",")
If tempStr.Length > aPlace Then
retStr = tempStr(aPlace)
End If
Return retStr
End Function
... And then from a text component I can add the expression
{ExtractValue(FanGroups.SoundPowerLevelsInlet,0)}
I hope you can help me. I've attached images showing the code for this solution and the error when previewing it.
Translated by google.
Public Function ExtractValue({Concepto.descripcion} As String,aPlace As Integer) As String
Dim retStr As String = String.Empty
Dim tempStr() As String
tempStr = {Concepto.descripcion}.Split(",")
If tempStr.Length > aPlace Then
retStr = tempStr(aPlace)
End If
Return retStr
End Function
... And then from a text component I can add the expression
{ExtractValue(FanGroups.SoundPowerLevelsInlet,0)}