Text
Text 13
xl.number.wordsNumber to words LAMBDAxl.number.words spells a US dollar amount under $1,000,000. 1234.56 becomes one thousand two hundred thirty-four dollars and fifty-six cents.xl.format.phoneFormat phone LAMBDAxl.format.phone turns ten digits into (512) 555-0148. A leading US country code 1 is dropped. Anything else is returned unchanged.xl.split.nameSplit name LAMBDAxl.split.name returns the first word and the rest of a personal name. Maria Lopez becomes Maria and Lopez. Maria Elena Lopez keeps Elena with the last name.xl.text.betweenText between LAMBDAxl.text.between returns the characters between two markers. The order number in Order #10428, Austin is 10428.xl.digits.onlyDigits only LAMBDAxl.digits.only keeps the digits in a string. 512-555-0148 becomes 5125550148, still as text so a leading zero can survive.xl.proper.nameProper name LAMBDAxl.proper.name applies title case and capitalizes the letter after Mc. mcdonald becomes McDonald. PROPER alone returns Mcdonald.xl.initialsInitials LAMBDAxl.initials returns the uppercase first letter of each word. Maria Elena Lopez becomes MEL.xl.count.wordsCount words LAMBDAxl.count.words counts words after trimming. Maria Elena Lopez is 3. A blank cell is 0.xl.pad.zipPad ZIP LAMBDAxl.pad.zip returns a 5-digit US ZIP as text. The number 2134 becomes 02134, with the leading zero restored.xl.ordinalOrdinal LAMBDAxl.ordinal turns 1, 2, 3, and 4 into 1st, 2nd, 3rd, and 4th. 11, 12, and 13 stay 11th, 12th, and 13th. 21 is 21st.xl.last.wordLast word LAMBDAxl.last.word returns the text after the last space. Maria Elena Lopez returns Lopez. A single word is returned unchanged.xl.collapse.spaceCollapse spaces LAMBDAxl.collapse.space turns nonbreaking spaces into ordinary spaces and trims the result. A padded city becomes Austin.xl.first.wordFirst word LAMBDAxl.first.word returns the text before the first space. Maria Elena Lopez returns Maria. A single word is returned unchanged.