Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

if string contains number c#

"abc3def".Any(c => char.IsDigit(c));

// Or to make it shorter:
"abc3def".Any(char.IsDigit);
Comment

PREVIOUS NEXT
Code Example
Csharp :: How can I cast string to enum? 
Csharp :: no move arrows unity 
Csharp :: loan calculator using windows forms in c# code 
Csharp :: unity bullet script 
Csharp :: change picturebox image c# 
Csharp :: unity animator current state name 
Csharp :: c# get bits from float 
Csharp :: how to destroy an object in unity 
Csharp :: how to do fizzbuzz in c# 
Csharp :: how to check is object by this type c# 
Csharp :: how is c# pronounced 
Csharp :: time.timescale 
Csharp :: += meaning c# 
Csharp :: how to draw gizmos unity 
Csharp :: how to reference function in unity 
Csharp :: c# calculate difference between two dates in days 
Csharp :: unity check load scene 
Csharp :: key press up unity 
Csharp :: c# clear a textbox 
Csharp :: best way to compare byte array c# 
Csharp :: how to pause physics in unity c# 
Csharp :: Get Index position of an element in a list in c# 
Csharp :: c# error CS0515 
Csharp :: convert list to dicitonary c# 
Csharp :: c# compile into an exe 
Csharp :: memset alternative in c# 
Csharp :: unique items in list c# 
Csharp :: button size xamarin 
Csharp :: add object to list c# 
Csharp :: c# create object with properties 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =