Linux-ScriptExamples: added case examples to VarModufiers.sh
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
option="${option// /}" #Removes Spaces
|
option="${option// /}" #Removes Spaces
|
||||||
|
option="${option//'"'}" #Removes "
|
||||||
|
option="${option//:}" #Removes :
|
||||||
option="${option/:/ }" #First : to Space
|
option="${option/:/ }" #First : to Space
|
||||||
option="${option//:/ }" #All : to Space
|
option="${option//:/ }" #All : to Space
|
||||||
option="${option//:}" #Removes :
|
option="${option,}" #First to LowerCase
|
||||||
option="${option,,}" #Removes LowerCase
|
option="${option,,}" #All : to LowerCase
|
||||||
option="${option//'"'}" #Removes "
|
option="${option^}" #First : to UpperCase"
|
||||||
|
option="${option^^}" #All : to UpperCase"
|
||||||
|
option="${option~}" #First : reverse case"
|
||||||
|
option="${option~~}" #All : reverse cases"
|
||||||
|
|||||||
Reference in New Issue
Block a user