Forum Discussion
John_Dodo
Nov 16, 2022Brass Contributor
Use to upper in pipe
Hello, I'd like to get all my "text" in uppercase right before sending it to CSV. Is this possible and how? (I don't want to do it anytime earlier in my script). I know the "string".ToUpper() me...
- Jan 16, 2023You can convert values to uppercase like this: (It will create a new hashtable with all values in uppercase
foreach ($key in $hash.Keys) {
$newhash[$key] = $hash[$key].ToUpper()
}
Jan 16, 2023
You can convert values to uppercase like this: (It will create a new hashtable with all values in uppercase
foreach ($key in $hash.Keys) {
$newhash[$key] = $hash[$key].ToUpper()
}
foreach ($key in $hash.Keys) {
$newhash[$key] = $hash[$key].ToUpper()
}