StringExtensions.

Transform(string, bool) Method

Summary

Transforms the specified source and conditionally replaces variables.
Namespace
Faker.Extensions
Containing Type
StringExtensions

Syntax

public static string Transform(this string s, bool replaceVariables = false)

Parameters

Name Type Description
s string The s.
replaceVariables bool if set to replace variables in the string.

Return Value

Type Description
string The transformed string.
GitHub