Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting Name Format: First MI Last --> Last, First MI
#2
Code:
Copy      Help
;at first select all, then
str s.getsel
s.replacerx("^ *(\S+ *\S+) +(\S+) *$" "$2, $1")
;out s
s.setsel


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)