Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove a string at the end of a string
#2
my version

Member function str.RStrim
Code:
Copy      Help
function$ $sRtrim

if(this.end(sRtrim)) this.remove(this.len-len(sRtrim))

ret this


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)