java - How to properly manage what has been read from a .txt
问题描述
I've been currently assigned to read from a .txt
, and make a structure with what I've read. This is an example of what I should read:
Name1$Surname1$Programming&5.0#Mathematics&6.5#Algebra&7.2#History&6.7#Biology&6.9
I have no problems whatsoever when it comes to read the first two strings, however, from that point on i don't know how to manage, in order to properly split it and make new objects with them.
Any tips/ suggestions on how to do it pls?
解决方案
推荐阅读
- android - 根据设备宽度和高度设置字体大小
- amazon-web-services - AWS XRay 在带有 Hapi 的 Typescript 中使用时失败
- haskell - Haskell缩进问题
- c# - 数据表大容量复制到 SQL Server 合并行 ID
- python - %: 'tuple' 和 'dict' 的 Django TypeError 不支持的操作数类型
- javascript - Create-React-App Auto 处理 GET 到路由
- foreach - Laravel 6 如何从列中获取计数
- disqus - 如何从 Disqus 中删除“Also on”?
- google-chrome - WebKit 537.36 - 大多数浏览器中的相同版本
- here-api - HERE API 中的流量请求返回邻近范围之外的结果