#textmanipulation

Stuart McHattie ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ปsdjmchattie@hachyderm.io
2025-03-23

Hi all, this weekโ€™s blog post is about regular expressions. If youโ€™ve been wondering how data scientists manipulate text quickly or you find yourself needing to find information in text and the thing youโ€™re looking for follows a pattern, maybe you can benefit from learning more about regular expressions.

sdjmchattie.github.io/posts/20

#blog #regex #regularexpressions #productivity #textmanipulation

Discovered a neat new tool last week: github.com/wr7/refold

It's similar to `fmt` and `fold` except that it automatically handles prefixes. Vim/Neovim `gq` can do this out of the box but fails (for me at least) when multiple prefixes are present, such as a Markdown block-quote inside Rust comments. E.g.

```
// > Some quoted text
// > to reflow.
```

`refold` handles this.

#Rust #RustLang #TextProcessing #TextManipulation #TextEditor

Steven Sandersonspsanderson@rstats.me
2024-08-13

Effortlessly concatenate strings in R using base R, stringr, stringi, and glue.

Explore techniques to create employee summaries from name, job title, and salary data.

Each method has unique strengths - experiment to find the best fit for your projects.

Simplify string manipulation tasks and elevate your R skills.

#R #RStats #RProgramming #Programming #Coding #stringr #stringi #glue #TextManipulation #strings

Post: spsanderson.com/steveondata/po

Steven P. Sanderson II, MPHstevensanderson@mstdn.social
2024-08-13

Effortlessly concatenate strings in R using base R, stringr, stringi, and glue.

Explore techniques to create employee summaries from name, job title, and salary data.

Each method has unique strengths - experiment to find the best fit for your projects.

Simplify string manipulation tasks and elevate your R skills.

#R #RStats #RProgramming #Programming #Coding #stringr #stringi #glue #TextManipulation #strings

Post: spsanderson.com/steveondata/po

Steven Sandersonspsanderson@rstats.me
2024-08-09

Counting characters in a string is easy in R with three approaches: base R's `gregexpr()`, `stringr`'s `str_count()`, and `stringi`'s `stri_count_fixed()`.

Base R provides a straightforward method, while `stringr` integrates well with tidyverse, and `stringi` excels in performance for large datasets.

Each method suits different needs. Try these out in your R projects to streamline text processing! ๐Ÿš€

#RStats #DataScience #TextManipulation #R #Programming

Post: spsanderson.com/steveondata/po

Steven P. Sanderson II, MPHstevensanderson@mstdn.social
2024-08-09

Counting characters in a string is easy in R with three approaches: base R's `gregexpr()`, `stringr`'s `str_count()`, and `stringi`'s `stri_count_fixed()`.

Base R provides a straightforward method, while `stringr` integrates well with tidyverse, and `stringi` excels in performance for large datasets.

Each method suits different needs. Try these out in your R projects to streamline text processing! ๐Ÿš€

#RStats #DataScience #TextManipulation #R #Programming

Post: spsanderson.com/steveondata/po

Dr. Juande Santander-Velajuandesant@astrodon.social
2024-04-09

I tend to follow the logic of `awk` better than the one of `sed` (not being a `vi` enthusiast), but it is good to see when one might be better than the other:

linuxjournal.com/content/text-

#TextManipulation #ETL #cli #awk #sed #regexp

Cogent Infotechcogentinfotech
2023-11-06

Delve into the essential methods of the String class in Java, perfect for manipulating and mastering text in your coding projects. From basics like length() and charAt() to advanced operations like indexOf() and substring(), enhance your Java skills with us.

Blog - cogentuniversity.com/post/meth

2023-04-01

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst