cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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