Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
file hasher
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string fileName = "InvoicePDF_340 Корпоративне КАСКО_- Рахунок - фактура (pdf).docx"; fileName = Regex.Replace(fileName, @"[\d-]", ""); Console.WriteLine("HC" + fileName.Substring(0, fileName.Length - 5).GetHashCode() + ".docx"); } } }
run
|
edit
|
history
|
help
0
Trim Strings
Shift Example
Inheritance Ctor
Fibonacci recursion
Find longest span of characters in string
ggggg
Sample code
svsvsvsvsv
custom Generic Que Implementation
числата от 1 до 20