cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
NetflixCrow956
Level III

past col

Hello, I would like to copy only the first 8 characters of the rows of the column Material Number  in the column 2.

 

 

NetflixCrow956_0-1649845862695.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: past col

See the character string functions in the JMP documentation or Scripting Index:

 

left.PNG

 

The Left( string, number of characters) should work for this case.

View solution in original post

2 REPLIES 2

Re: past col

See the character string functions in the JMP documentation or Scripting Index:

 

left.PNG

 

The Left( string, number of characters) should work for this case.

Georg
Level VII

Re: past col

Another way (if you need the first part of the string befor the "-") would be to use the word function,

in a first step you can let JMP create the formula,

Georg_1-1649867951148.png

 

and then you need to set the word separating character to "-".

Georg_0-1649867804036.png

 

Georg

Recommended Articles