Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need a function that will take the field in a string of QVD and remove accents and leave the letters in uppercase.
Can anyone help?
Caccents = "áéíóúàèìòùâêîôûäëïöüãõñçÁÉÍÓÚÀÈÌÒÙÂÊÎÔÛÄËÏÖÜÃÕÑÇ@#$%*&()/"%\ºª´´^~"
Saccents = "aeiouaeiouaeiouaeiouaoncAEIOUAEIOUAEIOUAEIOUAONC "
Thank's
Patricia
Hi Patricia.
ChrMap:
MAPPING
LOAD * INLINE [
From, To
á, a
â, a
ã, a
é, e
ê, e
í, i
ó, o
ô, o
õ, o
ú, u
Á, A
Â, A
Ã, A
É, E
Ê, E
Í, I
Ó, O
Ô, O
Õ, O
Ú, U
ç, c
Ç, c
];
TableTest:
LOAD
Name,
mapsubstring('ChrMap', Name) as New_Name,
upper(mapsubstring('ChrMap', Name)) as New_Name2
FROM Name.xls (biff, embedded labels, table is Name$);
Alessandro Furtado
Very Good!