title: Replace last digit
body: <p>How can I replace the last digit of a given field with <code>1</code>?</p>
  
  <p>Example : <code>code = 133</code> and I want to replace last digit <code>3</code> with <code>1</code>.</p>