search for: nonlett

Displaying 1 result from an estimated 1 matches for "nonlett".

Did you mean: bonnett
2023 Apr 13
1
Split String in regex while Keeping Delimiter
...es NOT work for a different reason: the "-" is coded using a NON-ASCII character. I have written a small utility function to approximately extract "non-standard" characters: ### Identify non-ASCII Characters # beware: the filtering and the sorting may break the codes; extract.nonLetters = function(x, rm.space = TRUE, sort=FALSE) { ?? ?code = as.numeric(unique(unlist(lapply(x, charToRaw)))); ?? ?isLetter = ?? ???? (code >= 97 & code <= 122) | ?? ???? (code >= 65 & code <= 90); ?? ?code = code[ ! isLetter]; ?? ?if(rm.space) { ?? ???? # removes only simp...