countDotOrUnderscoreSeparated: Count Dots or Underscores in a String and return

View source: R/Stringendo.R

countDotOrUnderscoreSeparatedR Documentation

Count Dots or Underscores in a String and return

Description

This function counts the number of "." characters in a given string.

Usage

countDotOrUnderscoreSeparated(string)

Arguments

string

A character string in which the number of "." characters will be counted. Default: None.

Value

An integer representing the number of "." characters in the string.

An integer representing the number of "." characters in the string.

Examples

## Not run: 
countDotOrUnderscoreSeparated("Hello.World...")
countDotOrUnderscoreSeparated("add_translated_metadata")
countDotOrUnderscoreSeparated("add_translated.metadata")
countDotOrUnderscoreSeparated("add translated metadata")
countDotOrUnderscoreSeparated("addTranslatedMetadata")

## End(Not run)

vertesy/Stringendo documentation built on Nov. 10, 2024, 4:35 a.m.