Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rdsuperlike
Creator
Creator

how to

how to do:

from ert234.55, 342er.345 or TRW345.12345 get string before .

so i want ert234, 342er , TRW345 and so on.

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

In a load statement in a load script:

LOAD

      SubField( aField , '.' , 1 ) AS BeforeDot

      .....

FROM

     .....;

In the application:

=SubField( aField, '.' , 1 )      in an expression in a chart

Or if you have the strings in variables:

=SubField( aVar , '.', 1 )

View solution in original post

3 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

petter
Partner - Champion III
Partner - Champion III

In a load statement in a load script:

LOAD

      SubField( aField , '.' , 1 ) AS BeforeDot

      .....

FROM

     .....;

In the application:

=SubField( aField, '.' , 1 )      in an expression in a chart

Or if you have the strings in variables:

=SubField( aVar , '.', 1 )

krishna_2644
Specialist III
Specialist III

see attached.

Capture1.PNG