Gemlogin Việt Nam
  • Bắt đầu
  • Giới thiệu
  • Bắt đầu nhanh
  • Quy trình tự động
    • Tổng quan
    • Bắt đầu quy trình
    • Khối
    • Dữ liệu chung
    • Bảng
    • Biến
    • Bảng và Biến
    • Biểu thức
    • Vòng lặp
  • Khối
    • General
      • Start
      • End
      • Cmd
      • Image Search
      • Resource Status
      • Delay
      • HTTP Request
      • Browser Request
      • Block Group
      • Clipboard
      • Wait Connections
      • Note
      • Workflow state
      • Switch Extension Popup - Doing
    • Browser
      • Open URL
      • Emulate
      • Network Toggle
      • Switch Tab
      • Go Back
      • Go Forward
      • Close Tab/Window
      • Take Screenshot
      • Handle Dialog
      • Reload tab
      • Get Tab URL
      • Get Info Tabs
      • Cookie
    • Web Interaction
      • Mouse Click
      • Mouse Move
      • Find Text(OCR)
      • Get text
      • Scroll Element
      • Link - doing
      • Attribute Value
      • Input Text
      • Javascript Code
      • Switch Frame
      • Upload File
      • Hover Element - Doing
      • Save Assets
      • Presskey
      • Create Element
    • Data
      • Random
      • Gemini AI
      • Chat GPT
      • DeepSeek AI
      • Blackbox AI
      • Insert Data
      • Delete Data
      • Get Log Data
      • Slice Variable
      • Increase Variable
      • RegEx Variable
      • Data Mapping
      • Split Data
      • Sort Data
    • Control flow
      • Repeat Task
      • Conditions
      • Element Exists
      • While Loop - Doing
      • Loop Data
      • Loop Breakpoint
    • Online services
      • Read File Text
      • Excel
      • Google Sheets
      • File Action
      • IMAP (Read Mail)
  • Tài liệu API
    • Danh sách profiles
    • Lấy thông tin profile
    • Tạo profile
    • Mở profile
    • Đóng profile
    • Cập nhật profile
    • Xóa profile
    • Danh sách nhóm
Powered by GitBook
On this page
  1. Khối
  2. Data

Slice Variable

Trích xuất một phần giá trị biến.

  • Tên biến Tên của biến

  • Chỉ số bắt đầu Chỉ số bắt đầu từ số không để bắt đầu trích xuất. Nếu chỉ số bắt đầu là số âm, Automa sẽ bắt đầu trích xuất từ ​​cuối giá trị.

  • Chỉ mục kết thúc Chỉ mục của phần tử đầu tiên cần loại trừ.

Ví dụ

Đầu vào

Bắt đầu chỉ mục

Mục lục kết thúc

Đầu ra

Hello world

0

5

Hello

Lorem ipsum

6

ipsum

Foo bar

-3

bar

[1, 2, 3, 4]

0

2

[1, 2]

[1, 2, 3, 4]

-2

[3, 4]

PreviousGet Log DataNextIncrease Variable

Last updated 10 months ago