Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Commands
                        • Programming Functions
                        • Programming Functions

                        Split

                        Reading time: 1min

                        Splits a string into substrings.

                        Syntax

                        split(String, String)
                        
                        split(String, String, Boolean)
                        

                        Description

                        Given two strings A and B, split string A by the expression B. The output is a list with the substrings as elements.

                        Given two strings A and B and a boolean b, if the value of b is true, it is the same as above; if b is false, empty strings "" are omitted. The output is a list with the substrings as elements.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Append
                        • Belongs?
                        • Complement
                        • Constant list
                        • Count element

                        Split

                        Syntax Description

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand