Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function GetLastName (
NameStr As Variant
) As String

Get the last word from a string of multiple word separated by spaces.

NameStr as Variant

A variant which will be coerced to a string before commencing.

Call Template:

Dim s As String
s = xf.Gen.GetLastName(NameStr)

See Also:

Example 1:

GetLastName("John Edgar Winslow Smith")   => Smith
GetLastName("Peter")   =>
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd