lua-users home
lua-l archive

Removing whitespace at the beginning and at the end of a string

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
is there a way to remove leading and trailing whitespace (inluding \n
or \r ) from a string with lua without using lpeg or loading a C-Lib
for regexp?
Thank you very much in advance for any help!
Best regards,
mcc

AltStyle によって変換されたページ (->オリジナル) /