Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Creating HUD Widgets    comparisons in if statements
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Apprentice
Posted
I am looking to do an if statement <$if model.extra1$> and see if the extra field has an entry starting with b as in b123456789. Is there a way to do that?

Thanks,
Tom Wootton
Bipolar Advantage


Tom Wootton
Bipolar Advantage
www.bipolaradvantage.com
 
Posts: 7 | Registered: February 01, 2009Reply With QuoteReport This Post
Pro
Posted Hide Post
Hi Tom,

you can try to do this with F-Script

firstletter := mystring substringToIndex:0.
firstletter isEqualToString:'b' ifTrue: [
"YES its a B".
].
 
Posts: 119 | Location: Lahnstein, Germany | Registered: February 16, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Marketcircle    Forums  Hop To Forum Categories  Extending Daylite  Hop To Forums  Creating HUD Widgets    comparisons in if statements

classes
In Store Demos
In Store Demos