OFS

suggest change

$OFS (Output Field Separator) is the string used when an array is converted to a string. If $OFS is not set, the separator is a space. It can be changed:

PS C:\> $array = 1,2,3
PS C:\> "$array" # default OFS will be used
1 2 3
PS C:\> $OFS = ",." # we change OFS to comma and dot
PS C:\> "$array"
1,.2,.3

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents