Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting Data from A String 1

Status
Not open for further replies.

jdgreen

Technical User
Mar 21, 2001
144
US
I am using CRXI and have an issue retrieving data from a table. The data in the table is stored in the following format:
2.3454;0;0;0;0
24.35;0;0;0;0
2.32;0;0;0;0
I need to only retrieve the first number from the array.
Thanks


John Green
 
You could use:

left({table.string},instr({table.string},";")-1)

Or you could use:

split({table.string},";")[1]

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top