cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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