Declaration
func Strip(target string) string
go
Parameters
Input
Name | Type | Description |
---|---|---|
Target | String | Target string |
Return
Type | Description |
---|---|
String | Output string |
Remove all spaces before the first non-space character and after the last non-space character in the target string
func Strip(target string) string
go
Name | Type | Description |
---|---|---|
Target | String | Target string |
Type | Description |
---|---|
String | Output string |