Soenneker.Extensions.String 3.0.356

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Extensions.String --version 3.0.356                
NuGet\Install-Package Soenneker.Extensions.String -Version 3.0.356                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Extensions.String" Version="3.0.356" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Extensions.String --version 3.0.356                
#r "nuget: Soenneker.Extensions.String, 3.0.356"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Soenneker.Extensions.String as a Cake Addin
#addin nuget:?package=Soenneker.Extensions.String&version=3.0.356

// Install Soenneker.Extensions.String as a Cake Tool
#tool nuget:?package=Soenneker.Extensions.String&version=3.0.356                

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.String

A collection of useful string extension methods

Installation

dotnet add package Soenneker.Extensions.String

Usage

Truncate()

string longString = "This is a long string that needs to be truncated";
string truncatedString = longString.Truncate(10);
// truncatedString = "This is a ..."

IsAlphaNumeric()

string alphanumeric = "abc123";
bool isAlphanumeric = alphanumeric.IsAlphaNumeric();
// isAlphanumeric = true

string nonAlphanumeric = "abc123!";
bool isNonAlphanumeric = nonAlphanumeric.IsAlphaNumeric();
// isNonAlphanumeric = false

Slugify()

string test = "this string&is%bad#for\\urls"

test.Slugify() // "this-string-is-bad-for-urls"

ToDouble()

string numericString = "3.14";
double? doubleValue = numericString.ToDouble();
// doubleValue = 3.14

string nonNumericString = "abc";
double? nonDoubleValue = nonNumericString.ToDouble();
// nonDoubleValue = null

RemoveNonDigits()

string stringWithNonDigits = "abc123xyz456";
string digitsOnly = stringWithNonDigits.RemoveNonDigits();
// digitsOnly = "123456"

Shuffle()

string originalString = "hello";
string shuffledString = originalString.Shuffle();
// shuffledString = "olhel"

... and more

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (27)

Showing the top 5 NuGet packages that depend on Soenneker.Extensions.String:

Package Downloads
Soenneker.Extensions.Configuration

A collection of helpful IConfiguration extension methods

Soenneker.Utils.MemoryStream

An easy modern MemoryStream utility

Soenneker.Utils.Logger

A useful utility library dealing with Serilog logging

Soenneker.Extensions.Enumerable.String

A collection of helpful enumerable string extension methods

Soenneker.Documents.Document

The base document type providing a building block for storage objects

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.412 10,830 1/27/2025
3.0.411 2,421 1/27/2025
3.0.410 83 1/27/2025
3.0.409 5,305 1/27/2025
3.0.408 1,275 1/27/2025
3.0.407 51 1/27/2025
3.0.406 48 1/27/2025
3.0.405 20,027 1/25/2025
3.0.404 15,520 1/24/2025
3.0.403 10,770 1/24/2025
3.0.402 363 1/24/2025
3.0.401 4,667 1/23/2025
3.0.400 61 1/23/2025
3.0.398 5,533 1/23/2025
3.0.397 20,412 1/21/2025
3.0.396 66 1/21/2025
3.0.395 100 1/21/2025
3.0.394 19,091 1/20/2025
3.0.393 4,508 1/20/2025
3.0.392 1,780 1/20/2025
3.0.391 77 1/20/2025
3.0.390 10,504 1/20/2025
3.0.389 58 1/20/2025
3.0.388 3,965 1/20/2025
3.0.387 69 1/20/2025
3.0.386 64 1/20/2025
3.0.385 8,761 1/20/2025
3.0.384 64 1/20/2025
3.0.383 60 1/20/2025
3.0.382 63 1/20/2025
3.0.381 27,597 1/19/2025
3.0.380 269 1/19/2025
3.0.379 58 1/19/2025
3.0.378 15,994 1/18/2025
3.0.377 15,037 1/16/2025
3.0.376 17,087 1/16/2025
3.0.375 14,242 1/16/2025
3.0.374 12,768 1/15/2025
3.0.373 4,987 1/15/2025
3.0.372 3,332 1/15/2025
3.0.371 7,027 1/15/2025
3.0.370 5,630 1/15/2025
3.0.369 3,019 1/14/2025
3.0.368 1,103 1/14/2025
3.0.367 609 1/14/2025
3.0.366 86 1/14/2025
3.0.365 46 1/14/2025
3.0.364 2,964 1/14/2025
3.0.363 1,726 1/14/2025
3.0.362 36 1/14/2025
3.0.361 3,056 1/14/2025
3.0.360 17,721 1/12/2025
3.0.359 14,529 1/10/2025
3.0.358 4,122 1/10/2025
3.0.357 66 1/10/2025
3.0.356 69 1/10/2025
3.0.355 3,464 1/10/2025
3.0.354 67 1/10/2025
3.0.353 95 1/10/2025
3.0.352 74 1/10/2025
3.0.351 23,760 1/2/2025
3.0.350 101 1/2/2025
3.0.349 94 1/2/2025
3.0.348 6,367 1/2/2025
3.0.347 104 1/2/2025
3.0.346 99 1/2/2025
3.0.345 1,474 1/2/2025
3.0.344 16,609 1/1/2025
3.0.343 94 1/1/2025
3.0.342 113 1/1/2025
3.0.341 546 12/31/2024
3.0.340 98 12/31/2024
3.0.339 94 12/31/2024
3.0.338 2,052 12/31/2024
3.0.337 117 12/31/2024
3.0.336 104 12/31/2024
3.0.335 133 12/31/2024
3.0.334 7,793 12/31/2024
3.0.333 21,823 12/31/2024
3.0.332 84 12/31/2024
3.0.331 84 12/31/2024
3.0.330 9,744 12/31/2024
3.0.329 98 12/31/2024
3.0.328 94 12/31/2024
3.0.327 4,275 12/31/2024
3.0.326 39,985 12/24/2024
3.0.325 88 12/24/2024
3.0.324 88 12/24/2024
3.0.323 6,787 12/24/2024
3.0.322 94 12/24/2024
3.0.321 90 12/24/2024
3.0.320 1,589 12/24/2024
3.0.319 40,390 12/22/2024
3.0.318 459 12/22/2024
3.0.317 94 12/22/2024
3.0.316 6,675 12/21/2024
3.0.315 83 12/21/2024
3.0.314 1,017 12/21/2024
3.0.313 9,713 12/21/2024
3.0.312 90 12/21/2024
3.0.311 3,361 12/21/2024
3.0.310 5,021 12/21/2024
3.0.309 94 12/21/2024
3.0.308 7,189 12/21/2024
3.0.307 86 12/21/2024
3.0.306 585 12/21/2024
3.0.305 5,075 12/21/2024
3.0.304 85 12/21/2024
3.0.303 7,265 12/20/2024
3.0.302 3,783 12/20/2024
3.0.301 87 12/20/2024
3.0.300 14,548 12/19/2024
3.0.299 1,456 12/19/2024
3.0.298 636 12/18/2024
3.0.297 88 12/18/2024
3.0.296 226 12/18/2024
3.0.295 25,071 12/17/2024
3.0.294 3,843 12/17/2024
3.0.293 102 12/17/2024
3.0.292 348 12/16/2024
3.0.291 99 12/16/2024
3.0.290 92 12/16/2024
3.0.289 98 12/16/2024
3.0.288 56,242 12/5/2024
3.0.287 24,171 12/4/2024
3.0.286 8,551 12/4/2024
3.0.285 5,637 12/4/2024
3.0.284 3,352 12/4/2024
3.0.283 7,012 12/4/2024
3.0.282 197 12/4/2024
3.0.281 14,155 12/3/2024
3.0.280 119 12/3/2024
3.0.279 6,764 12/3/2024
3.0.278 4,088 12/2/2024
3.0.277 99 12/2/2024
3.0.276 6,125 12/2/2024
3.0.275 14,474 12/1/2024
3.0.274 5,868 12/1/2024
3.0.273 108 12/1/2024
3.0.272 115 12/1/2024
3.0.271 39,485 11/19/2024
3.0.270 118 11/19/2024
3.0.269 5,381 11/19/2024
3.0.268 128 11/19/2024
3.0.267 103 11/19/2024
3.0.266 14,258 11/19/2024
3.0.265 3,746 11/19/2024
3.0.264 28,096 11/14/2024
3.0.263 120 11/14/2024
3.0.262 2,978 11/14/2024
3.0.261 113 11/14/2024
3.0.260 111 11/14/2024
3.0.259 1,770 11/13/2024
3.0.258 117 11/13/2024
2.1.257 49,383 11/8/2024
2.1.256 14,261 11/8/2024
2.1.255 89 11/8/2024
2.1.254 86 11/8/2024
2.1.253 48,202 10/28/2024
2.1.252 111,742 10/1/2024
2.1.251 16,862 9/30/2024
2.1.250 29,783 9/27/2024
2.1.249 106 9/27/2024
2.1.248 93 9/27/2024
2.1.247 2,798 9/27/2024
2.1.246 92 9/27/2024
2.1.245 89 9/27/2024
2.1.244 92 9/27/2024
2.1.243 53,836 9/23/2024
2.1.242 770 9/23/2024
2.1.241 3,740 9/23/2024
2.1.240 97 9/23/2024
2.1.239 1,278 9/23/2024
2.1.238 102 9/23/2024
2.1.237 7,335 9/22/2024
2.1.236 28,256 9/17/2024
2.1.235 217 9/17/2024
2.1.234 108 9/17/2024
2.1.233 206 9/17/2024
2.1.232 102 9/17/2024
2.1.231 4,185 9/17/2024
2.1.230 126 9/17/2024
2.1.229 49,907 9/11/2024
2.1.228 17,052 9/11/2024
2.1.227 23,486 9/9/2024
2.1.226 9,662 9/9/2024
2.1.225 5,910 9/9/2024
2.1.224 8,324 9/9/2024
2.1.223 8,960 9/9/2024
2.1.222 105 9/9/2024
2.1.221 104 9/9/2024
2.1.220 36,432 9/5/2024
2.1.219 7,171 9/5/2024
2.1.218 106 9/5/2024
2.1.217 121 9/5/2024
2.1.216 1,188 9/5/2024
2.1.215 108 9/5/2024
2.1.214 3,900 9/5/2024
2.1.213 20,814 9/4/2024
2.1.212 49,630 8/20/2024
2.1.211 5,629 8/20/2024
2.1.210 117 8/20/2024
2.1.209 118 8/20/2024
2.1.208 5,008 8/20/2024
2.1.207 122 8/20/2024
2.1.206 111 8/20/2024
2.1.205 72,744 7/24/2024
2.1.204 5,779 7/24/2024
2.1.203 83 7/24/2024
2.1.202 27,080 7/13/2024
2.1.201 116 7/13/2024
2.1.200 15,678 7/10/2024
2.1.199 4,625 7/10/2024
2.1.198 130 7/10/2024
2.1.196 4,277 7/9/2024
2.1.194 3,335 7/9/2024
2.1.193 19,508 7/9/2024
2.1.192 5,907 7/9/2024
2.1.191 653 7/9/2024
2.1.190 105 7/9/2024
2.1.189 9,201 7/9/2024
2.1.188 2,804 7/8/2024
2.1.187 106 7/8/2024
2.1.186 128 7/8/2024
2.1.185 98 7/8/2024
2.1.184 101 7/8/2024
2.1.183 5,377 7/8/2024
2.1.182 118 7/8/2024
2.1.181 101 7/8/2024
2.1.180 559 7/8/2024
2.1.179 24,793 7/7/2024
2.1.178 3,241 7/7/2024
2.1.177 22,024 7/3/2024
2.1.176 37,131 6/14/2024
2.1.174 43,233 5/27/2024
2.1.173 3,086 5/27/2024
2.1.172 98 5/27/2024
2.1.171 20,202 5/25/2024
2.1.170 7,442 5/25/2024
2.1.169 113 5/25/2024
2.1.168 113 5/25/2024
2.1.167 4,407 5/25/2024
2.1.166 106 5/25/2024
2.1.165 110 5/25/2024
2.1.164 124 5/25/2024
2.1.163 4,103 5/25/2024
2.1.162 106 5/25/2024
2.1.161 18,939 5/22/2024
2.1.160 4,768 5/22/2024
2.1.159 2,391 5/22/2024
2.1.158 115 5/22/2024
2.1.157 115 5/22/2024
2.1.156 120 5/22/2024
2.1.155 9,799 5/22/2024
2.1.154 16,328 5/16/2024
2.1.153 47,129 4/28/2024
2.1.152 101 4/28/2024
2.1.151 7,324 4/28/2024
2.1.150 102 4/28/2024
2.1.149 116 4/28/2024
2.1.148 676 4/28/2024
2.1.147 113 4/28/2024
2.1.146 121 4/28/2024
2.1.145 5,205 4/27/2024
2.1.144 145 4/27/2024
2.1.143 110 4/27/2024
2.1.142 37,972 4/12/2024
2.1.141 137 4/12/2024
2.1.140 4,794 4/12/2024
2.1.139 139 4/12/2024
2.1.138 119 4/12/2024
2.1.137 3,135 4/12/2024
2.1.136 131 4/12/2024
2.1.135 128 4/12/2024
2.1.134 116 4/12/2024
2.1.133 25,916 4/1/2024
2.1.132 18,521 3/25/2024
2.1.131 20,121 3/18/2024
2.1.130 191 3/18/2024
2.1.129 352 3/18/2024
2.1.128 18,854 3/13/2024
2.1.127 178 3/13/2024
2.1.126 176 3/13/2024
2.1.125 1,658 3/13/2024
2.1.124 170 3/13/2024
2.1.123 179 3/13/2024
2.1.122 37,789 3/8/2024
2.1.121 15,879 3/3/2024
2.1.120 13,280 3/2/2024
2.1.119 2,057 3/1/2024
2.1.117 12,075 2/28/2024
2.1.116 22,932 2/25/2024
2.1.115 222 2/25/2024
2.1.114 18,494 2/21/2024
2.1.113 4,693 2/21/2024
2.1.112 2,804 2/21/2024
2.1.111 1,864 2/21/2024
2.1.110 241 2/21/2024
2.1.109 5,977 2/21/2024
2.1.108 234 2/21/2024
2.1.107 249 2/21/2024
2.1.106 14,945 2/20/2024
2.1.105 1,637 2/20/2024
2.1.104 9,968 2/19/2024
2.1.103 10,215 2/16/2024
2.1.102 6,911 2/16/2024
2.1.101 241 2/16/2024
2.1.100 6,576 2/16/2024
2.1.99 40,165 2/9/2024
2.1.98 36,277 2/7/2024
2.1.97 4,574 2/6/2024
2.1.96 2,778 2/6/2024
2.1.95 459 2/6/2024
2.1.94 263 2/6/2024
2.1.93 13,415 2/4/2024
2.1.92 98,616 1/15/2024
2.1.91 5,352 1/15/2024
2.1.90 373 1/15/2024
2.1.89 3,119 1/15/2024
2.1.88 319 1/15/2024
2.1.87 37,365 1/7/2024
2.1.86 7,362 1/5/2024
2.1.85 4,454 1/5/2024
2.1.84 355 1/5/2024
2.1.83 378 1/5/2024
2.1.82 5,062 1/5/2024
2.1.81 12,719 1/1/2024
2.1.80 432 1/1/2024
2.1.79 8,335 12/28/2023
2.1.78 4,233 12/28/2023
2.1.77 4,142 12/27/2023
2.1.76 407 12/27/2023
2.1.75 409 12/27/2023
2.1.74 4,996 12/27/2023
2.1.73 382 12/27/2023
2.1.72 405 12/27/2023
2.1.71 15,678 12/25/2023
2.1.70 864 12/25/2023
2.1.69 418 12/25/2023
2.1.68 418 12/25/2023
2.1.67 4,705 12/25/2023
2.1.66 12,704 12/24/2023
2.1.65 7,662 12/23/2023
2.1.64 2,075 12/23/2023
2.1.63 384 12/23/2023
2.1.62 5,521 12/23/2023
2.1.61 433 12/23/2023
2.1.60 377 12/23/2023
2.1.59 1,828 12/23/2023
2.1.58 386 12/23/2023
2.1.57 13,694 12/19/2023
2.1.56 4,567 12/18/2023
2.1.55 12,837 12/10/2023
2.1.51 6,252 12/10/2023
2.1.50 11,016 12/9/2023
2.1.49 429 12/9/2023
2.1.48 515 12/9/2023
2.1.47 446 12/9/2023
2.1.46 438 12/9/2023
2.1.45 464 12/9/2023
2.1.44 7,440 12/9/2023
2.1.43 11,594 12/6/2023
2.1.42 9,304 12/4/2023
2.1.41 5,942 12/4/2023
2.1.40 492 12/4/2023
2.1.39 893 12/4/2023
2.1.38 529 12/4/2023
2.1.37 15,724 11/23/2023
2.1.36 443 11/23/2023
2.1.35 826 11/23/2023
2.1.34 464 11/23/2023
2.1.33 2,054 11/23/2023
2.1.32 3,219 11/23/2023
2.1.31 9,511 11/20/2023
2.1.30 3,847 11/20/2023
2.1.29 6,805 11/19/2023
2.1.28 1,170 11/19/2023
2.1.27 448 11/19/2023
2.1.26 458 11/19/2023
2.1.25 446 11/19/2023
2.1.24 2,337 11/19/2023
2.1.23 10,022 11/18/2023
2.1.22 484 11/18/2023
2.1.21 3,312 11/18/2023
2.1.20 2,242 11/18/2023
2.1.19 474 11/18/2023
2.1.18 5,808 11/17/2023
2.1.17 1,471 11/17/2023
2.1.16 483 11/17/2023
2.1.15 465 11/17/2023
2.1.14 1,888 11/17/2023
2.1.13 7,978 11/17/2023
2.1.12 2,108 11/17/2023
2.1.11 462 11/17/2023
2.1.10 494 11/17/2023
2.1.9 507 11/17/2023
2.1.8 3,694 11/17/2023
2.1.7 1,667 11/16/2023
2.1.6 420 11/16/2023
2.1.5 916 11/16/2023
2.1.4 456 11/16/2023
2.0.140 5,545 11/15/2023
2.0.139 479 11/15/2023
2.0.138 463 11/15/2023
2.0.137 465 11/15/2023
2.0.136 457 11/15/2023
2.0.3 450 11/16/2023
2.0.2 465 11/16/2023
2.0.1 419 11/16/2023
1.0.135 12,261 11/10/2023
1.0.134 486 11/10/2023
1.0.133 5,836 11/9/2023
1.0.132 436 11/9/2023
1.0.131 481 11/9/2023
1.0.130 2,103 11/8/2023
1.0.129 10,534 11/6/2023
1.0.128 461 11/6/2023
1.0.127 489 11/6/2023
1.0.126 491 11/6/2023
1.0.125 3,931 11/3/2023
1.0.124 7,092 11/2/2023
1.0.123 508 11/2/2023
1.0.122 488 11/2/2023
1.0.121 460 11/2/2023
1.0.120 3,786 11/1/2023
1.0.119 19,736 10/18/2023
1.0.118 523 10/18/2023
1.0.117 510 10/18/2023
1.0.116 501 10/18/2023
1.0.115 4,250 10/17/2023
1.0.114 4,970 10/16/2023
1.0.113 511 10/16/2023
1.0.112 505 10/16/2023
1.0.111 537 10/16/2023
1.0.110 7,374 10/13/2023
1.0.109 558 10/13/2023
1.0.108 13,879 9/19/2023
1.0.107 550 9/19/2023
1.0.106 561 9/19/2023
1.0.105 505 9/19/2023
1.0.104 6,624 9/18/2023
1.0.103 547 9/18/2023
1.0.102 16,238 8/30/2023
1.0.101 604 8/30/2023
1.0.100 564 8/30/2023
1.0.99 567 8/30/2023
1.0.98 586 8/30/2023
1.0.97 12,051 8/25/2023
1.0.96 5,500 8/24/2023
1.0.95 576 8/24/2023
1.0.94 10,694 8/18/2023
1.0.93 599 8/18/2023
1.0.92 4,936 8/17/2023
1.0.91 571 8/17/2023
1.0.90 583 8/17/2023
1.0.89 18,448 8/8/2023
1.0.88 617 8/8/2023
1.0.87 5,986 8/7/2023
1.0.86 633 8/7/2023
1.0.85 609 8/7/2023
1.0.84 22,359 7/10/2023
1.0.83 680 7/10/2023
1.0.82 693 7/10/2023
1.0.81 707 7/10/2023
1.0.80 5,058 7/7/2023
1.0.79 653 7/7/2023
1.0.78 16,599 6/29/2023
1.0.77 4,577 6/28/2023
1.0.76 679 6/28/2023
1.0.75 703 6/28/2023
1.0.74 47,817 6/7/2023
1.0.73 6,121 6/7/2023
1.0.72 703 6/7/2023
1.0.71 696 6/7/2023
1.0.70 7,406 6/6/2023
1.0.69 693 6/6/2023
1.0.68 2,847 6/5/2023
1.0.67 667 6/5/2023
1.0.66 7,223 6/2/2023
1.0.65 719 6/2/2023
1.0.64 700 6/2/2023
1.0.63 28,644 5/30/2023
1.0.62 692 5/30/2023
1.0.61 8,297 5/29/2023
1.0.60 701 5/29/2023
1.0.59 6,637 5/26/2023
1.0.58 12,391 5/25/2023
1.0.57 708 5/25/2023
1.0.56 6,378 5/24/2023
1.0.55 722 5/24/2023
1.0.54 717 5/24/2023
1.0.53 698 5/24/2023
1.0.52 801 5/24/2023
1.0.51 4,244 5/23/2023
1.0.50 703 5/23/2023
1.0.49 693 5/23/2023
1.0.46 13,492 5/22/2023
1.0.45 11,015 5/18/2023
1.0.44 6,573 5/17/2023
1.0.43 688 5/17/2023
1.0.42 676 5/17/2023
1.0.41 673 5/17/2023
1.0.40 17,410 4/24/2023
1.0.39 2,407 4/24/2023
1.0.38 749 4/24/2023
1.0.37 4,074 4/21/2023
1.0.36 698 4/21/2023
1.0.35 702 4/21/2023
1.0.34 4,530 4/20/2023
1.0.33 888 4/20/2023
1.0.32 836 4/20/2023
1.0.31 4,164 4/19/2023
1.0.30 1,907 4/18/2023
1.0.29 718 4/18/2023
1.0.28 1,883 4/18/2023
1.0.27 3,362 4/17/2023
1.0.26 809 4/16/2023
1.0.25 755 4/16/2023
1.0.24 3,510 4/14/2023
1.0.23 2,560 4/13/2023
1.0.22 2,455 4/12/2023
1.0.21 735 4/12/2023
1.0.20 735 4/12/2023
1.0.19 1,761 4/11/2023
1.0.18 805 4/11/2023
1.0.17 2,586 4/11/2023
1.0.16 2,996 4/7/2023
1.0.15 3,812 4/3/2023
1.0.14 767 4/3/2023
1.0.13 770 4/3/2023
1.0.12 731 4/3/2023
1.0.11 2,056 4/1/2023
1.0.10 1,163 3/30/2023
1.0.9 903 3/26/2023
1.0.7 3,975 2/27/2023
1.0.6 797 2/26/2023
1.0.5 791 2/22/2023
1.0.4 983 2/22/2023
1.0.3 826 2/22/2023
1.0.2 1,358 2/12/2023
1.0.1 1,018 2/12/2023