Hi oompa,
DotNET has a number of string utility functions. Some of them are
rather complicated because they might involve culture specific rules.
if (name = "charlies") then
if (name.Equals("charlie")) then
if (name.StartsWith("charlie")) then
if (name.Contains("charlie")) then
if (name Like "*charlie*)) then
and so on and so forth..
--
David Rutten
[email protected]
Robert McNeel & Associates
On Mar 1, 12:32 am, oompa_l <[email protected]> wrote:
> If I wanted to tack on a a conditional statement within the code that
> would check a string by a number of cases and assign colours to each
> one, how would I do that - I am familiar with Java's syntax where you
> might write something like if (name.equals("charlies") { the function
> would go here... }