Skip to main content
Inspiring
March 16, 2011
Question

best way to split a single string containing 2 words into word1 and word2

  • March 16, 2011
  • 1 reply
  • 763 views

Whats the best way to take a string containing 2 words and split it into 2 strings ?

eg. "red ferrari"

string1 "red"

string2 "ferrari"

This topic has been closed for replies.

1 reply

Inspiring
March 16, 2011

I'd use list functions.

Inspiring
March 16, 2011

Something like ListFirst, ListLast ?

Owainnorth
Inspiring
March 16, 2011

Erm yes, those are list functions.