Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to move left an Integer number (string)?

Status
Not open for further replies.

bricenoej

Programmer
Mar 19, 2002
50
VE
Hi everybody...
Is there a function for erase,eliminate, hide or move left the first numbers of a integer number (string). For example if I have the 51841855454 and I would like to hide the four ones numbers, and the final number could be 41855454.
Is there a function or way for do that???

Sorry for my English..
Greeting and thank you everybody....Eduardo(bricenoej)
 
Here is one way:

=== START CODE EXAMPLE ===
<cfset n = &quot;51841855454&quot;>
<cfoutput>
#Right(n, Len(n)-4)#
</cfoutput>
=== END CODE EXAMPLE === - tleish
 
Great... Thanks a lot tleish... Perfect.

Greetings Eduardo (bricenoej)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top