Gemphonefarm-book
  • Welcome
  • Set up & Kết nối Phone
  • Setup Giả Lập
  • Hướng dẫn sử dụng
    • Control Center
    • Stream Device
    • Inspector
    • Automation
      • General
        • Start
        • End
        • Resource Status
        • Delay
        • HTTP Request
        • Block Group
        • Note
      • UI Interaction
        • Press Back
        • Press Home
        • Press Menu
        • Touch
        • Swipe/Scroll
        • Screenshot
        • Type Text
        • Image Search
        • Swipe & Check Screen
        • Clear Text
        • Find Text
      • Device Management
        • Set Clipboard
        • Get Clipboard
        • Reconnect
        • Transfer File
        • Screen Action
        • Toggle Service
        • Change Device
        • Get Property Device
        • Check Network
        • Dump XML
        • Proxy
      • App Management
        • Is Open App
        • Start App
        • Stop App
        • Install App
        • Uninstall App
        • Is Installed App
        • Backup/Restore
        • Backup/Restore Device
        • Clear Data App
        • Close All App
      • System Commands
        • JavaScript code
        • Element exists
        • Press Key
        • ADB Command
      • Data
        • Read file text
        • Insert data
        • Delete data
        • Get log data
        • Slice variable
        • Increase variable
        • RegEx variable
        • Data mapping
        • Split Data
        • Sort data
        • Get Attribute
        • Random
        • IMAP (Read Mail)
        • Read Hotmail
        • Refresh Hotmail AccessToken
        • File Action
        • Generate 2FA
      • Online Services
        • Excel
        • Google Sheets
        • Gemini AI
        • Chat GPT
        • DeepSeek
        • BlackBox AI
      • Control Flow
        • Repeat Task
        • Conditions
        • While Loop
        • Loop Data
        • Loop Breakpoint
  • Setting
    • General
    • Automation
    • Phone
    • Editor
Powered by GitBook
On this page
  1. Hướng dẫn sử dụng
  2. Automation
  3. Data

Split Data

PreviousData mappingNextSort data

Last updated 29 days ago

Input variable: Text/String hoặc List.

Delimiter: Ký tự phân tách (ví dụ: ",", "|", ";", " ", etc.).

Extract Mode:

  • All Value: Lấy tất cả giá trị sau khi tách.

  • Random Value: Chọn ngẫu nhiên một giá trị từ kết quả.

  • Nth Value: Lấy giá trị theo thứ tự (nhập thứ tự bên dưới).

Trim Whitespaces: Loại bỏ khoảng trắng thừa ở đầu và cuối các giá trị sau khi tách

Output variable: Gắn kết quả vào biến

VD:

Tách chuỗi giá trị 1234,456

Ngăn cách bởi dấu ","

Kết quả trả về