-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Given that vector indexing is discouraged (it will index the dataframe series, not the string), the following string slicing functions may be useful.
left(text::AbstractString, n::Int) = n > 0 ? text[1:min(n, end)] : text[1:end-min(-n, end)]
right(text::AbstractString, n::Int) = n > 0 ? text[end-min(n, end)+1:end] : text[min(-n, end)+1:end]also add a substr
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request