[204] Text Processing Using juce::String class

I’m Sam
I’m Sam
Feb 18, 2018 · 2 min read

前陣子公司內部的工具需要用到 Windows 內建的 Pnputil 工具程式。該工具可用來安裝以及移除驅動程式(Device Driver)。

其中一個需求是取得 Pnputil 的輸出結果後,從中獲得安裝至系統的驅動程式 INF 檔名,例:oem93.inf。Pnputil 的輸出結果如下:

Adding driver package: filter.inf
Driver package added successfully.
Published Name: oem93.inf
Total driver packages: 1
Added driver packages: 1

底下影片利用 juce::String 來處理文字。除此之外,同時示範 Catch Unit Test framework 的基本用法。(未來的影片也會以這樣的組合來呈現)

大山姆的機機車車

今年初我發行了個人電子報,提供軟體開發資訊與學習資源,還有軟體工具介紹及使用技巧,其中包含了我在 WorkFlowy Tips 上發佈的最新文章。如果你跟我一樣求知若渴,又不想花太多時間「過濾」資料,趕快訂閱《大山姆的機機車車™》電子報,每月兩期,精挑細選的資訊直接送進你的郵箱,讓你輕鬆「追劇」無負擔:

Originally published at samtsai.org on February 18, 2018.

JUCE Tips

A place you don’t want to miss while learning JUCE

I’m Sam

Written by

I’m Sam

Developer | CTO of I³D Technology Inc. | Blog at https://samtsai.org | Newsletter: http://thecpp.news | WorkFlowy Tips: https://workflowy.tips

JUCE Tips

JUCE Tips

A place you don’t want to miss while learning JUCE

I’m Sam

Written by

I’m Sam

Developer | CTO of I³D Technology Inc. | Blog at https://samtsai.org | Newsletter: http://thecpp.news | WorkFlowy Tips: https://workflowy.tips

JUCE Tips

JUCE Tips

A place you don’t want to miss while learning JUCE

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store