• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

String Comparison

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

wacasce edited

Update function not checking all if statement which have string comparisons

May 1, '20 update problem·string comparison

1 Reply

0 Votes

avatar image

WarOnGravity answered

Search Game Inventory Button Object Text Strings

Feb 23, '20 c#·ui·contains·indexof·string comparison

2 Replies

0 Votes

avatar image

marenamitchell asked

.IndexOf Error--Must have StringComparison

Oct 25, '19 in Help Room

0 Replies

0 Votes

avatar image

SirPaddow answered

Comparing string won't return a true value

Jul 31, '19 string comparison

1 Reply

0 Votes

avatar image

pako answered

Compare two time laps and save best records

Feb 24, '19 timer·string comparison

1 Reply

0 Votes

avatar image

suparna commented

How to compare names of two GameObjects to check whether their names are equal or not?

Sep 7, '18 gameobject·name·string comparison

1 Reply

0 Votes

avatar image

douglassophies commented

When comparing two identical strings they are returning not equal...why?

Apr 26, '18 in Help Room

2 Replies

0 Votes

avatar image

brooksiieeee answered

Unable to compare double quotation character specifically in Unity Closed

Apr 25, '18 c#·scripting problem·comparison·string comparison

2 Replies

0 Votes

avatar image

Harinezumi commented

Grab part of a string by looking for keyword

Apr 17, '18 string·strings·string.split·string comparison·string formatting

2 Replies

0 Votes

avatar image

_Prism_ answered

String comparison not working

Mar 1, '18 in Help Room

2 Replies

0 Votes

avatar image

someone721 edited

Comparing string stored in a game object (Not the object name) Closed

Jan 24, '18 in Help Room

0 Replies

0 Votes

avatar image

BOB_KSE edited

Game controls as string inputs [c#]

Dec 27, '17 in Help Room

0 Replies

0 Votes

avatar image

Wannabuhh edited

How do you build a string from user input? Closed

Oct 6, '17 in Help Room

0 Replies

0 Votes

avatar image

Terre-D published

Comparing strings loaded by Resources.Load()

Jan 10, '17 string comparison

0 Replies

0 Votes

avatar image

Unplug answered

How to compare list item to a gameobject name in C#

Dec 26, '16 in Help Room

1 Reply

0 Votes

avatar image

AcidMage commented

Recognising different string inputs for same result (using "or" statements for strings)

Jun 14, '16 in Help Room

1 Reply

0 Votes

avatar image

Prefab commented

How to extract part of a string variable?

May 12, '16 c#·string·string.split·string comparison

1 Reply

0 Votes

avatar image

SuperRaed edited

problem comparing Strings using compareTo() as it never evaluates to 0 even when the two strings are equal

Apr 15, '16 in Help Room

0 Replies

0 Votes

avatar image

Glurth edited

ui.text string matching doesn't work

Mar 7, '16 in Help Room

0 Replies

0 Votes

avatar image

blitzcloud commented

How to compare strings JS

Feb 1, '16 in Help Room

1 Reply

0 Votes

avatar image

Pixzle commented

String Comparasion Error

Nov 29, '15 in Help Room

1 Reply

0 Votes

avatar image

BlueChicken commented

String.Equals returning false?

Oct 20, '15 string·textasset·false·string comparison

2 Replies

1 Votes

avatar image

Pharan edited

Does Unity's Mono do a reference compare in its string == operator?

Sep 1, '15 string·tags·strings·string comparison

2 Replies

1 Votes

avatar image

maxnorth commented

How does GetComponentInChildren() locate a custom script component?

Jan 22, '15 string comparison

1 Reply

0 Votes

avatar image

MrSoad commented

Unity string comparison not working... Closed

Dec 15, '14 if statement·string comparison

1 Reply

0 Votes

avatar image

theLittleSettler commented

Performace Overhit for String Concatenation in Online Pool Game Posted

Feb 12, '14 string·performance optimization·string comparison

0 Replies

0 Votes

avatar image

ATMEthan commented

How do I find which string comes first alphabetically?

Jan 23, '13 error·compare·string comparison

1 Reply

0 Votes

avatar image

Catlard commented

String comparison weirdness.

May 27, '11 compare·characters·string comparison·compare-string

3 Replies

1 Votes

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

string c# strings string formatting string.split indexof textasset scripting problem compare ui text scripting beginner input.getaxis timer if statement vr inputfield keyboard input tags game object search contains false comparison characters


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges