Skip to content
Discussion options

You must be logged in to vote

Just a bit of playing around with string-functions:
setter = l(l._1:sub(1,1):upper() .. l._1:sub(2,-1)))
(so extract first char, capitalize, append remaining chars)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marcoSven
Comment options

@marcoSven
Comment options

@json-bateman
Comment options

Answer selected by fovj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants