Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On the Functions tab insert the Python Script.

Example: Last 8 Numbers

uid = uid_var

str = str(uid)

x = len(str)

uid_var = str[x-8:x]

...

Code explanation:

uid = uid_var
str = str(uid)
sizeOfUid = len(str)
numberOfChars = 8
uid_var = str[sizeOfUid-numberOfChars:sizeOfUid] 

Close the properties window, save the changes made and you should have the expected result.

...