get_special_character_info: Get Special Characters and Their Byte Codes

View source: R/special-characters.R

get_special_character_infoR Documentation

Get Special Characters and Their Byte Codes

Description

Get Special Characters and Their Byte Codes

Usage

get_special_character_info(text, context_length = 7, bytes_per_char = 2)

Arguments

text

vector of character of length one

context_length

number of characters left and right of special character to be put into column context

bytes_per_char

number of bytes per character

Value

data frame with columns special (special characters) and bytes (hexadecimanl byte codes as a space separated string), context (strings "around" the special characters)

Examples

(text <- kwb.fakin:::example_string_with_specials("de"))

get_special_character_info(text)


KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.