Skip to main content
Solved

Limit attribute value to 8 character

  • February 23, 2022
  • 5 replies
  • 126 views

abinash

Hi, i have a attribute field that contains value more than 8 charecter.I want to limit it to 8.

Best answer by david_r

You can use the SubstringExtractor for this.

View original
Did this help you find an answer to your question?

5 replies

david_r
Celebrity
  • Best Answer
  • February 23, 2022

You can use the SubstringExtractor for this.


abinash
  • Author
  • February 23, 2022
david_r wrote:

You can use the SubstringExtractor for this.

Actually i have the value starting from 1 to a number which contains more than 8 character. so i want something like attribute rounder so that i could mention the maximum digit.


david_r
Celebrity
  • February 23, 2022
abinash wrote:

Actually i have the value starting from 1 to a number which contains more than 8 character. so i want something like attribute rounder so that i could mention the maximum digit.

Can you provide some examples.


abinash
  • Author
  • February 23, 2022
abinash wrote:

Actually i have the value starting from 1 to a number which contains more than 8 character. so i want something like attribute rounder so that i could mention the maximum digit.

i need a transformer which will limit the attribute value to 8. if there is any value more than 8 character it should erase the extra value on the right side


abinash
  • Author
  • February 23, 2022
abinash wrote:

Actually i have the value starting from 1 to a number which contains more than 8 character. so i want something like attribute rounder so that i could mention the maximum digit.

i found it (string length formatter )

Thank you


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings