Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (Get-Culture).DateTimeFormat.MonthNames > "C:\kkk\mies.txt"
- [string]$str = Get-Content "C:\kkk\mies.txt"
- [string]$bez_luty
- [string]$luty = $str.Substring(8, 4)
- $luty>"C:\kkk\Miesiąc roku przestępnego.txt"
- $bez_luty = $str -replace "luty ", ""
- echo $bez_luty
- function<string> iloscDni($a){
- [string] $ret=""
- foreach($mies in $a.Split(" ")){
- $ret = $ret +$mies + $dni
- }
- return $ret
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement