Example 3: Specify a backslash as a delimiter

MAIN
  DEFINE tok base.StringTokenizer 
  LET tok = base.StringTokenizer.create("C:\\My Documents\\My Pictures","\\")
  WHILE tok.hasMoreTokens()
    DISPLAY tok.nextToken()
  END WHILE
END MAIN