vl-string-trim


(vl-string-trim charset string)

This function removes all leading and trailing characters contained in charset from the start and end of the string.

Arguments

charset  (string) a string containing all characters to be removed
string  (string) the string to be trimmed at both left and right side

Return

(string) result string after removing all leading + trailing characters contained in charSet from the input string

Example

(vl-string-trim " #/" " #;; now a valid comment #/ ")  returns ";; now a valid comment"

Remarks




©  Bricsys NV. All rights reserved.