namespace GeoRitmMover.Services.Implementations;

public class StringCutter
{
	public string Cut(string source, int maxLength)
	{
		var destination = source.Trim();
		if (destination.Length > maxLength)
		{
			destination = destination[..maxLength];
		}

		return destination;
	}
}
