Reference · Rules and helpers · rules.rs
result_name Function
"Mietvertrag.pdf" + "klein" → "Mietvertrag-klein". A suffix the name already ends with ("Fotos" + "fotos") or one that only names the format ("pdf") is left off.
func resultName(source: String, suffix: String) -> Stringpublic static string ResultName(string source, string suffix)pub fn result_name(source: String, suffix: String) -> StringParameters
| Name | Type | Swift / C# |
|---|---|---|
source | String | source |
suffix | String | suffix |
Returns
String
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.