Forum Discussion
FP68
7 months agoHelper I
Syntax problem
Hello, I've a clolumn with a long string [TAGS] in which I can find "ApplicationName=xxxxxx" In this string, each data is separate with ";" I just want to know the position of the ";" after the "A...
- 7 months ago
Hi,
You may tryCountries2 =VAR _x =SEARCH ( "ApplicationName=", [TAGS], 1, BLANK() )VAR _z =_x + LEN ( "ApplicationName=" )VAR _result=SEARCH ( ";", [TAGS], _z, BLANK() )RETURN_resultTested with some random data.
cengizhanarslan
7 months agoSuper User
Please try the measure below:
Countries2 =
VAR _x =
SEARCH ( "ApplicationName=", [TAGS], 1, -1 )
VAR _z =
IF (
_x > 0,
SEARCH ( ";", [TAGS], _x, BLANK() ),
BLANK()
)
RETURN
_z