Træning
Modul
Text manipulation in Power Automate for desktop - Training
Learn how to manipulate text and datetime values in Power Automate for desktop.
Denne browser understøttes ikke længere.
Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.
Text.Format(formatString as text, arguments as any, optional culture as nullable text) as text
Returnerer formateret tekst, der oprettes ved at anvende arguments
fra en liste eller post på en formatstreng formatString
. Der kan også angives en valgfri culture
(f.eks. "en-US").
Formatér en liste over tal.
brug
Text.Format("#{0}, #{1}, and #{2}.", {17, 7, 22})
output
"17, 7, and 22."
Formatér forskellige datatyper fra en post i henhold til engelsk kultur i USA.
brug
Text.Format(
"The time for the #[distance] km run held in #[city] on #[date] was #[duration].",
[
city = "Seattle",
date = #date(2015, 3, 10),
duration = #duration(0, 0, 54, 40),
distance = 10
],
"en-US"
)
output
"The time for the 10 km run held in Seattle on 3/10/2015 was 00:54:40."
Træning
Modul
Text manipulation in Power Automate for desktop - Training
Learn how to manipulate text and datetime values in Power Automate for desktop.